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; or loads from .Rprofile

...

Curl options passed on to GET

Value

A list with metadata for each state.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
os_statemetasearch()
os_statemetasearch('ca')
os_statemetasearch('tx')
out <- os_statemetasearch(c('tx','nv'))
out$tx
out$nv

library('httr')
os_statemetasearch('tx', config=verbose())

## End(Not run)

rsunlight documentation built on May 29, 2017, 1:29 p.m.

Search within the rsunlight package
Search all R packages, documentation and source code