knitr::opts_chunk$set( warning = FALSE, message = FALSE, comment = "#>", collapse = TRUE )
crevents
Crossref events data R client
Crossref Events Data docs - https://www.eventdata.crossref.org/guide/
Package API:
crev_query()
- /events
API routecrev_edited()
- /events/edited
API routecrev_deleted()
- /events/deleted
API routecrev_evrecs()
- helper to fetch evidence records JSON payloadsstable version
install.packages("crevents")
development version
remotes::install_github("ropensci/crevents")
library('crevents')
crev_query(rows = 3)
Limit to events from Reddit
x <- crev_query(rows = 3, source = "reddit") x$message$events
crevents
in R doing citation(package = 'crevents')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.