powered by
Search OpenStates metadata
os_statemetasearch(state = NULL, key = NULL, ...)
One or more two-letter state abbreviations (character)
your SunlightLabs API key; loads from environment variable from .Renviron or from an option from .Rprofile
Optional additional curl options (debugging tools mostly) passed on to crul::HttpClient
A list with metadata for each state.
# NOT RUN { os_statemetasearch() os_statemetasearch('ca') os_statemetasearch('tx') os_statemetasearch('tx', verbose = TRUE) # }
Run the code above in your browser using DataLab