os_statemetasearch: Search OpenStates metadata

Description Usage Arguments Value Examples

View source: R/os_statemetasearch.R

Description

Search OpenStates metadata

Usage

1

Arguments

state

One or more two-letter state abbreviations (character)

key

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

Value

A list with metadata for each state.

Examples

1
2
3
4
5
6
7
## Not run: 
os_statemetasearch()
os_statemetasearch('ca')
os_statemetasearch('tx')
os_statemetasearch('tx', verbose = TRUE)

## End(Not run)

rsunlight documentation built on May 15, 2018, 9:03 a.m.