Description Usage Arguments Details Value See Also
View source: R/get_dataset_list.R
This is the API wrapper function for the getDatasetList operation.
It returns a list of available datasets, with optional state
and/or year
filtering.
1 2 | get_dataset_list(state = NULL, year = NULL,
api_key = legiscan_api_key())
|
state |
State filter (optional) |
year |
Year filter (optional) |
api_key |
Your LegiScan API key (see |
This opertation does not return the dataset itself. Rather, it gives the
dataset meta-data, and the session_id
and access_key
required
for the get_dataset
function to retrieve the dataset.
If neither state
nor year
is given, returns a full list of all available dataset
If only state
is given, returns datasets for that state from all available years
If only year
is given, returns datasets for that year from all 50 states,
plus DC and Congress.
List of dataset information.
get_dataset
, legiscan_api_key
,
LegiScan API manual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.