jaod - R client for Directory of Open Access Journals API

DOAJ API FAQ: https://doaj.org/faq#apikey

get started with the package docs: https://ropensci.github.io/jaod/

installation

stable CRAN version

development version

devtools::install_github("ropensci/jaod")
library("jaod")

search journals

jaod_journal_search(query = "bibjson.keywords:heritage")
#> $timestamp
#> [1] "2019-09-04T16:58:15.006551Z"
#> 
#> $page
#> [1] 1
#> 
#> $pageSize
#> [1] 10
#> 
#> $query
#> [1] "bibjson.keywords:heritage"
#> 
#> $total
#> [1] 95
#> 
#> $`next`
#> [1] "https://doaj.org/api/v1/search/journals/bibjson.keywords:heritage?page=2&pageSize=10"
#> 
#> $last
#> [1] "https://doaj.org/api/v1/search/journals/bibjson.keywords:heritage?page=10&pageSize=10"
#> 
#> $results
#> # A tibble: 10 x 40
#>    last_updated id    created_date admin.ticked admin.seal bibjson.allows_…
#>    <chr>        <chr> <chr>        <lgl>        <lgl>      <lgl>           
#>  1 2017-12-11T… 0110… 2014-05-19T… TRUE         NA         TRUE            
#>  2 2018-05-10T… 0223… 2017-06-30T… TRUE         FALSE      TRUE            
#>  3 2018-05-10T… 08d5… 2010-12-21T… TRUE         FALSE      TRUE            
#>  4 2018-05-10T… 097b… 2018-02-09T… TRUE         FALSE      TRUE            
#>  5 2019-04-23T… 1005… 2018-07-23T… TRUE         FALSE      TRUE            
#>  6 2018-05-10T… 1642… 2012-07-13T… TRUE         FALSE      TRUE            
#>  7 2018-10-30T… 1891… 2018-10-30T… TRUE         TRUE       TRUE            
#>  8 2019-07-29T… 1932… 2018-08-24T… TRUE         FALSE      TRUE            
#>  9 2018-05-10T… 1940… 2011-02-07T… TRUE         FALSE      TRUE            
#> 10 2019-04-06T… 1b3a… 2019-04-06T… TRUE         FALSE      TRUE            
#> # … with 34 more variables: bibjson.keywords <list>,
#> #   bibjson.deposit_policy <list>, bibjson.title <chr>,
#> #   bibjson.publication_time <int>, bibjson.provider <chr>,
#> #   bibjson.subject <list>, bibjson.format <list>, bibjson.link <list>,
#> #   bibjson.active <lgl>, bibjson.institution <chr>,
#> #   bibjson.publisher <chr>, bibjson.language <list>,
#> #   bibjson.license <list>, bibjson.alternative_title <chr>,
#> #   bibjson.country <chr>, bibjson.identifier <list>,
#> #   bibjson.apc_url <chr>, bibjson.submission_charges_url <chr>,
#> #   bibjson.persistent_identifier_scheme <list>,
#> #   bibjson.author_publishing_rights.url <chr>,
#> #   bibjson.author_publishing_rights.publishing_rights <chr>,
#> #   bibjson.article_statistics.url <chr>,
#> #   bibjson.article_statistics.statistics <lgl>,
#> #   bibjson.plagiarism_detection.detection <lgl>,
#> #   bibjson.plagiarism_detection.url <chr>, bibjson.oa_start.year <int>,
#> #   bibjson.editorial_review.process <chr>,
#> #   bibjson.editorial_review.url <chr>,
#> #   bibjson.author_copyright.url <chr>,
#> #   bibjson.author_copyright.copyright <chr>,
#> #   bibjson.archiving_policy.url <chr>,
#> #   bibjson.archiving_policy.nat_lib <chr>, bibjson.apc.currency <chr>,
#> #   bibjson.apc.average_price <int>

search articles

jaod_article_search(query = "license:CC-BY")
#> $timestamp
#> [1] "2019-09-04T16:58:15.841886Z"
#> 
#> $page
#> [1] 1
#> 
#> $pageSize
#> [1] 10
#> 
#> $query
#> [1] "license:CC-BY"
#> 
#> $total
#> [1] 4175566
#> 
#> $`next`
#> [1] "https://doaj.org/api/v1/search/articles/license:CC-BY?page=2&pageSize=10"
#> 
#> $last
#> [1] "https://doaj.org/api/v1/search/articles/license:CC-BY?page=417557&pageSize=10"
#> 
#> $results
#> # A tibble: 10 x 23
#>    last_updated id    created_date bibjson.end_page bibjson.start_p…
#>    <chr>        <chr> <chr>        <chr>            <chr>           
#>  1 2019-08-29T… 0000… 2019-06-26T… 440              431             
#>  2 2019-02-21T… 0000… 2015-10-13T… 1740             1737            
#>  3 2019-02-21T… 0000… 2018-07-18T… 418              399             
#>  4 2019-04-02T… 0000… 2013-11-20T… 293              282             
#>  5 2019-08-29T… 0000… 2019-06-26T… 126              109             
#>  6 2019-02-21T… 0000… 2004-05-31T… 209              205             
#>  7 2019-02-21T… 0000… 2014-05-22T… <NA>             <NA>            
#>  8 2019-02-21T… 0000… 2018-02-19T… <NA>             12              
#>  9 2019-02-21T… 0000… 2018-11-04T… 9                1               
#> 10 2019-02-21T… 0000… 2016-10-24T… 620              616             
#> # … with 18 more variables: bibjson.author <list>, bibjson.abstract <chr>,
#> #   bibjson.title <chr>, bibjson.month <chr>, bibjson.link <list>,
#> #   bibjson.year <chr>, bibjson.keywords <list>,
#> #   bibjson.identifier <list>, bibjson.subject <list>,
#> #   bibjson.journal.publisher <chr>, bibjson.journal.language <list>,
#> #   bibjson.journal.license <list>, bibjson.journal.title <chr>,
#> #   bibjson.journal.country <chr>, bibjson.journal.number <chr>,
#> #   bibjson.journal.volume <chr>, bibjson.journal.issns <list>,
#> #   admin.seal <lgl>

get article by id

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for jaod in R doing citation(package = jaod')
  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

ropensci_footer