Description Usage Arguments Value Examples
Obtain official information from the Cicero API. Can seach by latitude and longitude coordinates and first and last name.
1 2 3 4 |
search_loc |
Street address |
lat |
Latitude coordiante |
lon |
Longitude coordinate |
first_name |
First name of official |
last_name |
Last name of official |
valid_on |
date for official |
district_type |
Officials from which district type? |
list
1 2 3 | #' get_official(lat = 40, lon = -75.1)
#' get_official(search_loc = "3175 Bowers Ave. Santa Clara, CA", district_type = c("STATE_LOWER", "STATE_UPPER"))
#' get_official(last_name = "Obama")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.