powered by
Get endpoint for a specific series, jurisdiction, year, document_type combo
get_endpoint(series, jurisdiction, year, document_type, summary = TRUE)
Returns the endpoint, e.g. '/state-summary' for summary-level state data
Series ID(s)
ID for the jurisdiction
Year(s) of data
ID for type of document
Return summary instead of document level data (only one year of data is allowed for document level data), default value is TRUE
if (FALSE) get_endpoint( series = c(28, 33, 36), jurisdiction = 38, year = c(1970, 2003, 2004, 2018), document_type = 1 )
Run the code above in your browser using DataLab