rsunlight: Interface to 'Sunlight' Foundation 'APIs'

Interface to three 'Sunlight' Foundation 'APIs' (http:// sunlightfoundation.com/api/) for government data, including the Congress 'API' 'v3', the Capitol Words 'API', and the Open States 'API'. 'Sunlight' Foundation is a 'nonpartison' 'nonprofit' that collects and provides data on government activities, and those that influence government. Functions are provided to interact with each of the three 'APIs'.

Install the latest version of this package by entering the following in R:
install.packages("rsunlight")
AuthorScott Chamberlain [aut, cre], Thomas J. Leeper [ctb]
Date of publication2015-12-31 22:19:55
MaintainerScott Chamberlain <myrmecocystus@gmail.com>
LicenseMIT + file LICENSE
Version0.4.2
https://github.com/ropengov/rsunlight

View on CRAN

Man pages

cg_amendments: Search for data on amendments.

cg_bills: Gets details for bills.

cg_committees: Gets details (subcommittees + membership) for a committee by...

cg_districts: Get districts for a latitude/longitude or zips

cg_documents: Search for data on documents

cg_floor_updates: Search for data on upcoming bills.

cg_hearings: Search for data on hearings

cg_legislators: Search for legislators.

cg_nominations: Search for data on nominations

cg_upcoming_bills: Search for data on upcoming bills.

cg_votes: Search for data on votes.

cw_dates: Capitol words dates.json method. Search the congressional...

cw_phrases: Capitol words phrases.json method. List the top phrases for a...

cw_text: Capitol words text.json method. Search the congressional...

cw_timeseries: Find the popularity of a phrase over a period of time.

ie_contracts-defunct: This function is defunct.

ie_contr_bundled-defunct: This function is defunct.

ie_contr-defunct: This function is defunct.

ie_earmarks-defunct: This function is defunct.

ie_entities-defunct: This function is defunct.

ie_epa-defunct: This function is defunct.

ie_faca-defunct: This function is defunct.

ie_grants-defunct: This function is defunct.

ie_individuals-defunct: This function is defunct.

ie_industries-defunct: This function is defunct.

ie_lobbying-defunct: This function is defunct.

ie_organizations-defunct: This function is defunct.

ie_politicians-defunct: This function is defunct.

ie_sectors-defunct: This function is defunct.

os_billlookup: Lookup bills on OpenStates.

os_billsearch: Search OpenStates bills.

os_legislatorsearch: Search Legislators on OpenStates.

os_statemetasearch: Search OpenStates metadata.

rsunlight-defunct: Defunct functions in rsunlight

rsunlight-package: Sunlight Foundation data from R

sessions: Congressional sessions, up to the 114th (2015-2016)

type_sum: Type summary

Functions

cg_amendments Man page
cg_bills Man page
cg_committees Man page
cg_districts Man page
cg_documents Man page
cg_floor_updates Man page
cg_hearings Man page
cg_legislators Man page
cg_nominations Man page
cg_upcoming_bills Man page
cg_votes Man page
cw_dates Man page
cw_phrases Man page
cw_text Man page
cw_timeseries Man page
ie_contr Man page
ie_contracts Man page
ie_contr_bundled Man page
ie_earmarks Man page
ie_entities Man page
ie_epa Man page
ie_faca Man page
ie_grants Man page
ie_individuals Man page
ie_industries Man page
ie_lobbying Man page
ie_organizations Man page
ie_politicians Man page
ie_sectors Man page
os_billlookup Man page
os_billsearch Man page
os_legislatorsearch Man page
os_statemetasearch Man page
rsunlight Man page
rsunlight-defunct Man page
rsunlight-package Man page
sessions Man page
type_sum Man page
type_sum.array Man page
type_sum.character Man page
type_sum.Date Man page
type_sum.default Man page
type_sum.factor Man page
type_sum.integer Man page
type_sum.logical Man page
type_sum.matrix Man page
type_sum.numeric Man page
type_sum.POSIXt Man page

Files

inst
inst/www
inst/www/index.html
inst/www/src-min-noconflict
inst/www/src-min-noconflict/mode-r.js
inst/www/src-min-noconflict/mode-rhtml.js
inst/www/src-min-noconflict/ace.js
inst/www/src-min-noconflict/mode-rdoc.js
inst/www/src-min-noconflict/theme-monokai.js
inst/www/src-min-noconflict/mode-markdown.js
inst/www/jquery-1.10.2.min.js
inst/www/underscore-min.js
inst/www/opencpu-0.4.js
inst/img
inst/img/rcharts_plot.png
inst/img/readmeplot1.png
inst/img/unnamed-chunk-10-1.png
inst/img/unnamed-chunk-8-1.png
inst/ignore
inst/ignore/rt_new_filing.R inst/ignore/cg_getdistrictzip.R inst/ignore/sunlight_tocsv.R inst/ignore/rt_ind_exp.R inst/ignore/cg_getcommitteesallleg.R inst/ignore/cg_getcommittees.R inst/ignore/sun_df.R inst/ignore/cg_getcommitteeslist.R inst/ignore/cg_getdistrictlatlong.R
inst/doc
inst/doc/rsunlight_vignette.html
inst/doc/rsunlight_vignette.Rmd
tests
tests/testthat
tests/testthat/test-cg_bills.R tests/testthat/test-trunc_mat.R tests/testthat/test-os_billsearch.R tests/testthat/test-amendments.R tests/testthat/test-os_statemetasearch.R tests/testthat/test-os_legislatorsearch.R tests/testthat/test-cg_legislators.R tests/test-all.R
NAMESPACE
data
data/sessions.rda
R
R/cg_amendments.R R/os_statemetasearch.R R/cg_documents.R R/cg_upcoming_bills.R R/cg_hearings.R R/cg_districts.R R/cw_timeseries.R R/cw_phrases.R R/cg_legislators.R R/cg_committees.R R/query.R R/rsunlight-package.R R/cg_votes.R R/cg_floor_updates.R R/os_billsearch.R R/cw_text.R R/cg_bills.R R/defunct.R R/os_billlookup.R R/cg_nominations.R R/os_legislatorsearch.R R/cw_dates.R R/zzz.R R/tbldf.R
vignettes
vignettes/rsunlight_vignette.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/cg_documents.Rd man/cg_districts.Rd man/os_billsearch.Rd man/ie_industries-defunct.Rd man/os_billlookup.Rd man/ie_contracts-defunct.Rd man/os_statemetasearch.Rd man/cw_phrases.Rd man/cw_dates.Rd man/type_sum.Rd man/ie_epa-defunct.Rd man/ie_lobbying-defunct.Rd man/cg_votes.Rd man/ie_contr-defunct.Rd man/rsunlight-package.Rd man/cg_bills.Rd man/cw_timeseries.Rd man/cw_text.Rd man/sessions.Rd man/ie_individuals-defunct.Rd man/cg_upcoming_bills.Rd man/ie_faca-defunct.Rd man/ie_organizations-defunct.Rd man/ie_sectors-defunct.Rd man/cg_hearings.Rd man/os_legislatorsearch.Rd man/cg_committees.Rd man/ie_grants-defunct.Rd man/ie_politicians-defunct.Rd man/rsunlight-defunct.Rd man/cg_floor_updates.Rd man/cg_legislators.Rd man/cg_amendments.Rd man/cg_nominations.Rd man/ie_entities-defunct.Rd man/ie_earmarks-defunct.Rd man/ie_contr_bundled-defunct.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.