Pseudo-API wrapper for the TOP factor dataset. Implements helper functions for interacting with the TOP dataset. Rather than manually downloading the dataset, the topapi package keeps the dataset in memory, meaning the data is both easily accessible and always up to date.
Requires my {enumr} package:
install.packages("enumr", repos = 'https://elianhugh.r-universe.dev')
You can install the released version of topapi from R-universe with:
install.packages("topapi", repos = 'https://elianhugh.r-universe.dev')
library(topapi)
# Get data by journal name
journal_name("Autoimmunity Reviews")
# Get data by journal name, with sub-string matching
journal_name("Autoimmunity Reviews", exact_match = FALSE)
# Get data by journal ISSN
journal_issn("1568-9972")
## or
journal_issn(15689972)
# Get data by journal issn, substring matching
journal_issn("1568", exact_match = FALSE)
# Get data by publisher
publisher_name("Elsevier")
# Get data by publisher, substring matching
publisher_name("Else", exact_match = FALSE)
Please note that the topapi project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.