-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output of arxiv_search is now a data frame #7
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- also, strip trailing semicolons if necessary; saw that in one instance with multiple DOI links
- also added tests - helper function get_key: made version for plain list as well as the version for a list of lists, which is now called get_key_ll
- also tests - also revised clean_record to have separator arg
- separator seemed more clear, but sep is more standard in R (e.g., in paste)
- include argument output_format that can be data.frame or list, but data.frame is the default - result includes an attribute "search_info" with search parameters (and the time at which the search was completed)
- attribute to results of arxiv_search() and arxiv_count()
- Was pasting affiliations from multiple authors; if all missing, we end up with a string with one fewer vertical bars than there are authors. Better to just make it an empty string.
kbroman
added a commit
that referenced
this pull request
Sep 7, 2014
Output of arxiv_search is now a data frame
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
arxiv_search()
andarxiv_count()
also include an attribute"search_info"
with search parameters and the time of the search.The key element of the package is now complete, so I've made this version 0.2.