Downloads relevant publication data using openalexR
Source: R/fetch_openalex_pubs.R
fetch_openalex_pubs.Rd
Downloads relevant publication data using openalexR
Usage
fetch_openalex_pubs(
journal_name = NULL,
journal_id = NULL,
clean_journals_continents = FALSE,
progress_bar = FALSE,
verbose = TRUE,
...
)
Arguments
- journal_name
The list of desired journals (by journal name).
- journal_id
The list of desired journals (by OpenAlex ID).
- clean_journals_continents
Logical, whether to also process the dataframe with the clean_journals_continents function. It is set to FALSE by default because on large datasets it can be very time consuming.
- progress_bar
Logical, whether to print a progress bar.
- verbose
Passed to
openalexR::oa_fetch()
and defaults toTRUE.
- ...
Arguments passed to
openalexR::oa_fetch()
Details
As recommended by the authors of the openalexR
package,
Before we go any further, we highly recommend you set openalexR.mailto
option so that your requests go to the polite pool for faster response times.
If you have OpenAlex Premium, you can add your API key to the
openalexR.apikey
option as well. These lines best go into .Rprofile with
file.edit("~/.Rprofile")
.