The pvsR package facilitates data retrieval from Project Vote Smart's rich online data base on US politics via the Project Vote Smart application programming interface (PVS API). The functions in this package cover most PVS API classes and methods and return the requested data in a data frame.
|Date of publication||2014-09-23 09:53:40|
|Maintainer||Ulrich Matter <email@example.com>|
CandidateBio.getAddlBio: Get a candidate's additional biographical information
CandidateBio.getBio: Get a candidate's main biographical information
CandidateBio.getDetailedBio: Get a candidate's detailed biographical information
Candidates.getByDistrict: Get a list of candidates according to the district they...
Candidates.getByElection: Get a list of candidates according to the election they are...
Candidates.getByLastname: Get a list of candidates according to their lastname
Candidates.getByLevenshtein: Get a list of candidates according to an approximate lastname...
Candidates.getByOfficeState: Get a list of candidates according to office and state...
Candidates.getByOfficeTypeState: Get a list of candidates according to office type and state...
Candidates.getByZip: Get a list of candidates according to ZIP code
Committee.getCommittee: Get detailed committee (contact) information
Committee.getCommitteeMembers: Get a list of members of a committee
Committee.getCommitteesByTypeState: Get a list of committees according to type and state
Committee.getTypes: Get the committee types (house, senate, joint, etc.)
District.getByOfficeState: Get district IDs according to the office and state
District.getByZip: Get district IDs according to the zip code
Election.getElection: Get district basic election data
Election.getElectionByYearState: Get district basic election data according to year and state...
Election.getElectionByZip: Get district basic election data according to the ZIP code
Election.getStageCandidates: Get district basic election data according to election ID and...
getAllBios: Get several candidates' biographical information
getAllCities: Get basic data on all cities
getAllCounties: Get basic data on all counties
getAllDistricts: Get basic data on all districts
getAllLocalOfficials: Fetch data on all local (city- or county-) officials
getAllVotes: Get several votes
getOffices: Get basic data on all offices
Leadership.getOfficials: Get officials that hold the leadership role in certain states
Leadership.getPositions: Get leadership positions by state and office
Local.getCities: Get cities in a state
Local.getCounties: Get counties in a state
Local.getOfficials: Get officials for a locality
Measure.getMeasure: Get details of a ballot measure
Measure.getMeasuresByYearState: Get a list of state ballot measures in a given year
Npat.getNpat: Get a candidate's most recently filled out NPAT/PCT...
Office.getBranches: Get a list of branches of government and their IDs
Office.getLevels: Get a list of levels of government and their IDs
Office.getOfficesByBranchLevel: Get offices tracked according to branch and level
Office.getOfficesByLevel: Get offices tracked according to level
Office.getOfficesByType: Get offices tracked according to type
Office.getTypes: Get all office types tracked
Officials.getByDistrict: Get a list of officials according to the district they are...
Officials.getByLastname: Get a list of officials according to a last name match
Officials.getByLevenshtein: Get a list of officials according to an approximate last name...
Officials.getByOfficeState: Get a list of officials according to office
Officials.getByOfficeTypeState: Get a list of officials according to office type and state
Officials.getByZip: Get a list of officials according to the ZIP code
Officials.getStatewide: Get a list of officials according to state representation
Rating.getCandidateRating: Get a candidate's rating by special interest groups
Rating.getCategories: Get categories that contain released ratings according to...
Rating.getRating: Get all candidate ratings from an evaluation by a special...
Rating.getSig: Get detailed information about a special interest group
Rating.getSigList: Get a list of special interest groups according to rating...
Rating.getSigRatings: Get all ratings (scorecards) by a special interest group
State.getState: Get information about a state
State.getStateIDs: Get a list of states and their IDs.
Votes.getBill: Get general information on a bill
Votes.getBillAction: Get detailed action information on a certain stage of the...
Votes.getBillActionVoteByOfficial: Get a single vote according to official and action
Votes.getBillActionVotes: Get votes listed by candidate on a certain bill action
Votes.getBillsByCategoryYearState: Get a list of bills according to category, year and state
Votes.getBillsByOfficialCategoryOffice: Get a list of bills according to office, candidate and...
Votes.getBillsByOfficialYearOffice: Get a list of bills according to office (optional), candidate...
Votes.getBillsBySponsorCategory: Get a list of bills according to sponsor(candidate) and...
Votes.getBillsBySponsorYear: Get a list of bills according to sponsor(candidate) and year
Votes.getBillsByStateRecent: Get a list of recent bills according to the state.
Votes.getBillsByYearState: Get a list of bills according to year and state
Votes.getByOfficial: Get all the bills an official has voted on by year
Votes.getCategories: Get a list of categories that contain released bills...
Votes.getVetoes: Get a list of vetoes according to candidate