Learn R Programming

votesmart

This package is a wrapper around the VoteSmart API written by your friendly neighborhood progressive tech organization,

Copy Link

Version

Install

install.packages('votesmart')

Monthly Downloads

133

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Amanda Dobbyn

Last Published

May 1st, 2023

Functions in votesmart (0.1.2)

endpoint_input_mapping

Endpoint-Input Mapping
candidates_get_by_lastname

Get candidate data by last name
office_get_levels

Get office levels
endpoint_input_mapping_nested

Nested Endpoint-Input Mapping
%<>%

Assignment pipe operator
measure_get_measures_by_year_state

Get a dataframe of ballot measures by year and state
election_get_election_by_year_state

Get election info by election year and state
%>%

Pipe operator
office_get_offices_by_level

Get offices by level
rating_get_sig

Get information on a SIG (Special Interest Group) by its ID
rating_get_sig_list

Get SIG (Special Interest Group) list by category and state
measure_get_measures

Get information on a ballot measure
votesmart-package

votesmart: Wrapper for the Project 'VoteSmart' API
votes_get_by_official

Get votes by official
candidates_get_by_levenshtein

Get candidate data by Levenshtein distance from last name
candidates_get_by_office_state

Get candidates by the state in which they hold office
rating_get_candidate_ratings

Get SIG (Special Interest Group) ratings for candidates
rating_get_categories

Get categories that contain ratings by state