knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/", out.width = "100%" )
This R package is an interface for the WOS Lite API. This package is freely released by the FRB-CESAB and allows user to retrieve references from a WOS request.
This package uses the WOS Lite API to access data on scientific literature. You must first have obtained a Personal API Token by contacting the WOS team.
Then you must store this token as an R Environment variable (i.e. a name-value pairs).
Use the function usethis::edit_r_environ()
to open the ~/.Renviron
file and add
this line (by replacing z999zzz... with your token):
WOS_KEY='z999zzz9zzz999999z9z99zz999zz999'
Save the file and relaunch R.
You can install the development version from GitHub with:
# install.packages("remotes") remotes::install_github("frbcesab/rwoslite")
Then you can attach the package rwoslite
:
library("rwoslite")
The general workflow is the following:
rwoslite::wos_search()
to get the total number of references
that match the Web of Science query.rwoslite::wos_get_records()
to download the references.Please cite this package as:
Casajus N & Mouquet N (
r format(Sys.Date(), "%Y")
) rwoslite: An R Client for the WOS Lite API. R package version 0.0.1.
Please note that the rwoslite
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.