Description Usage Arguments Value Examples
Request data from openelections API
1 2 |
state |
Two letter state capitalized state abbreviation. |
start_date |
Start date of dataset, must be after 2000-01-01. |
end_date |
End year of dataset, must be before 2014-12-31 |
offset |
API returns batches of 20, so if querying more than twenty records, you need to run two queries and specify the offset value for the second query. Offset defaults to 0. |
output |
Do you want to return a "dataframe" or a "list". The list includes additional information about the API call. |
A dataframe or list
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.