Learn R Programming

alm (version 0.4.0)

alm_requests: Retrieve API requests data

Description

Retrieve API requests data

Usage

alm_requests(key, url = "http://alm.plos.org/api/v5/api_requests", ...)

Arguments

key
API key. Required.
url
URL for the api requests endpoint. Required.
...
Curl args to GET

Details

This function requires authentication via an API key.

Examples

Run this code
## Not run: 
# out <- alm_requests()
# out$meta
# dat <- out$data
# head( dat )
# dat[ dat$db_duration > 100, ]
# ## End(Not run)

Run the code above in your browser using DataLab