polidata

Political data. In R. This package provides easy access to various political data APIs.

Usage

Get API keys.

Install polidata from source.

install.packages("/path/to/polidata", type="source", repos=NULL)

Import polidata, and initialize with API keys.

library("polidata")
InitPolidata()

To set an individual API key, options(GoogleAPIKey='some_key')

Call API with method type.

PopongAPI("bill")
PopongAPI("party")
PopongAPI("person")
SunlightAPI("legislators")
SunlightAPI("committees")
SunlightAPI("bills")
SunlightAPI("votes")

License

MIT

Copy Link

Version

Down Chevron

Install

install.packages('polidata')

Monthly Downloads

22

Version

0.1.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 20th, 2019

Functions in polidata (0.1.0.1)