get_endpoint | R Documentation |
Get endpoint for a specific series, jurisdiction, year, document_type combo
get_endpoint(series, jurisdiction, year, document_type, summary = TRUE)
series |
Series ID(s) |
jurisdiction |
ID for the jurisdiction |
year |
Year(s) of data |
document_type |
ID for type of document |
summary |
Return summary instead of document level data (only one year of data is allowed for document level data), default value is TRUE |
Returns the endpoint, e.g. '/state-summary' for summary-level state data
## Not run: get_endpoint(
series = c(28, 33, 36), jurisdiction = 38,
year = c(1970, 2003, 2004, 2018), document_type = 1
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.