Learn R Programming

jaod (version 0.3.0)

jaod_article: Get an article by ID

Description

Get an article by ID

Usage

jaod_article(id, ...)

Arguments

id

(character) a DOAJ article ID, a UUID. Note, this is not a DOI, but you can use jaod_article_search() to search by ISSN to get DOAJ article ids

...

curl options passed on to verb-GET, see ?curl::curl_options for help on curl options

Value

a named list, with slots admin, last_updated, id, created_date, and bibjson

Examples

Run this code
# NOT RUN {
out <- jaod_article(id = "0005e11ec616453f854070069385e057")
out$admin
out$last_updated
out$id
out$created_date
out$bibjson

ids <- c("73f781ad57094b98a0b46d8903fdc2c2",
  "0005e11ec616453f854070069385e057")
out <- lapply(ids, jaod_article)
out[[1]]
# }

Run the code above in your browser using DataLab