Package: ProPublicaR 1.1.4

ProPublicaR: Access Functions for ProPublica's APIs

Provides wrapper functions to access the ProPublica's Congress and Campaign Finance APIs. The Congress API provides near real-time access to legislative data from the House of Representatives, the Senate and the Library of Congress. The Campaign Finance API provides data from United States Federal Election Commission filings and other sources. The API covers summary information for candidates and committees, as well as certain types of itemized data. For more information about these APIs go to: <https://www.propublica.org/datastore/apis>.

Authors:Aleksander Dietrichson [aut, cre], Joselina Davit [aut]

ProPublicaR_1.1.4.tar.gz
ProPublicaR_1.1.4.zip(r-4.5)ProPublicaR_1.1.4.zip(r-4.4)ProPublicaR_1.1.4.zip(r-4.3)
ProPublicaR_1.1.4.tgz(r-4.4-any)ProPublicaR_1.1.4.tgz(r-4.3-any)
ProPublicaR_1.1.4.tar.gz(r-4.5-noble)ProPublicaR_1.1.4.tar.gz(r-4.4-noble)
ProPublicaR_1.1.4.tgz(r-4.4-emscripten)ProPublicaR_1.1.4.tgz(r-4.3-emscripten)
ProPublicaR.pdf |ProPublicaR.html
ProPublicaR/json (API)
NEWS

# Install 'ProPublicaR' in R:
install.packages('ProPublicaR', repos = c('https://dietrichson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dietrichson/propublicar/issues

Datasets:

On CRAN:

4.34 score 11 stars 1 scripts 182 downloads 99 exports 30 dependencies

Last updated 1 years agofrom:824fe93094. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-winNOTEOct 30 2024
R-4.5-linuxNOTEOct 30 2024
R-4.4-winNOTEOct 30 2024
R-4.4-macNOTEOct 30 2024
R-4.3-winOKOct 30 2024
R-4.3-macOKOct 30 2024

Exports:bills_legislation_by_keywordcompare_two_member_bill_sponsorshipscompare_two_member_vote_positionsget_a_billget_amendments_billget_bills_cosponsored_memberget_candidateget_candidate_by_nameget_candidates_in_raceget_committeeget_committee_by_nameget_committee_electioneering_communicationsget_committee_filingsget_committee_leadershipget_congress_memberget_congressional_statement_by_billget_congressional_statement_by_memberget_congressional_statement_by_subjectsget_cosponsors_specific_billget_current_members_by_statedistrictget_electioneering_communications_by_dateget_electioneering_communications_committeeget_electronic_filing_by_committeesget_electronic_filing_by_typesget_electronic_filing_byDateget_electronic_filing_form_typesget_hearing_specific_committeeget_house_senate_floor_actions_by_dateget_independent_expenditure_by_committeeget_independent_expenditure_by_dateget_independent_expenditure_office_totalsget_independent_expenditure_race_totals_committeeget_independent_expenditure_support_candidateget_independent_expenditure_support_presidential_candidateget_lobbyist_bundlersget_member_vote_positionget_members_leavingget_new_membersget_nominees_by_stateget_quarter_office_expenses_by_category_house_memberget_quarter_office_expenses_house_memberget_races_for_stateget_recent_amendmentsget_recent_committee_hearingget_recent_congressional_statementsget_recent_congressional_statements_by_dateget_recent_congressional_statements_by_termget_recent_electioneering_communicationsget_recent_house_senate_floor_actionsget_recent_independent_expendget_recent_late_contributionsget_recent_late_contributions_candidateget_recent_late_contributions_committeeget_recent_late_contributions_dateget_recent_lobbying_representation_filingsget_recent_nominations_by_categoryget_recent_official_communicationsget_recent_official_communications_by_categoryget_recent_official_communications_by_chamberget_recent_official_communications_by_dateget_recent_personal_explanationsget_recent_personal_explanations_specific_memberget_recent_personal_explanations_votesget_recent_personal_explanations_votes_by_categoryget_recent_personal_explanations_votes_specific_memberget_recent_personal_explanations_votes_specific_member_by_categoryget_recent_votesget_recently_added_independent_expenditure_committeesget_recently_candidatesget_recently_committeesget_related_billsget_senate_nomination_votesget_specific_billget_specific_bill_subjectget_specific_committeeget_specific_lobbying_representation_filingsget_specific_nominationsget_specific_roll_call_voteget_specific_subcommitteeget_state_party_countsget_statement_subjectsget_subjects_for_billget_top20_candidate_of_FinancialCategoryget_upcoming_billsget_votes_by_dateget_votes_by_date_rangeget_votes_by_typelist_members_chamber_congresslists_of_committeespp_convert_to_data_framepp_queryrecent_bills_by_memberrecent_bills_by_subjectrecent_bills_by_typeretrieve_keysearch_lobbying_representation_filingsvalidate_cyclevalidate_districtvalidate_state

Dependencies:askpasscliconfigcpp11curldplyrfansigenericsgluehttrjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigR6rlangstringistringrsystibbletidyselecttimechangeutf8vctrswithryaml

Readme and manuals

Help Manual

Help pageTopics
Search Bills: to search the title and full text of legislation by keyword to get the 20 most recent billsbills_legislation_by_keyword
Compare Two Members’ Bill Sponsorshipscompare_two_member_bill_sponsorships
Compare Two Members Vote Positionscompare_two_member_vote_positions
Get a Specific Billget_a_bill
Get Amendments for a Specific Billget_amendments_bill
Get Bills Cosponsored by a Specific Memberget_bills_cosponsored_member
Get Candidate Info https://www.propublica.org/datastore/apis GET https://api.propublica.org/campaign-finance/v1/cycle/candidates/fec-idget_candidate
Get Candidate Infoget_candidate_by_name
Get Candidates in Raceget_candidates_in_race
Get Committee Info HTTP Request: GET https://api.propublica.org/campaign-finance/v1/cycle/committees/fec-idget_committee
Get Committee by nameget_committee_by_name
Get Electioneering Communications by Specific Committeeget_committee_electioneering_communications
Get Committee Filingsget_committee_filings
Get Leadership Committeesget_committee_leadership
Get a Specific Memberget_congress_member
Get Congressional Statements by Billget_congressional_statement_by_bill
Get Congressional Statements by Memberget_congressional_statement_by_member
Get Congressional Statements by Subjectget_congressional_statement_by_subjects
Get Cosponsors for a Specific Billget_cosponsors_specific_bill
Get Current Members by State/Districtget_current_members_by_statedistrict
Get Electioneering Communications by Dateget_electioneering_communications_by_date
Get Electioneering Communications by Specific Committeeget_electioneering_communications_committee
Search for Electronic Filings by committee name o partial nameget_electronic_filing_by_committees
Get Electronic Filings By Typeget_electronic_filing_by_types
Get Electronic Filings by Dateget_electronic_filing_byDate
Get Electronic Filing Form Typesget_electronic_filing_form_types
Get Hearings for a Specific Committeeget_hearing_specific_committee
Get House and Senate Floor Actions by Dateget_house_senate_floor_actions_by_date
Get Independent Expenditures by Specific Committeeget_independent_expenditure_by_committee
Get Independent Expenditures by Dateget_independent_expenditure_by_date
Get Independent Expenditure Office Totalsget_independent_expenditure_office_totals
Get Independent Expenditure Office Totalsget_independent_expenditure_race_totals_committee
Get Independent Expenditures that Support or Oppose a Specific Candidateget_independent_expenditure_support_candidate
Get Independent Expenditures that Support or Oppose Presidential Candidatesget_independent_expenditure_support_presidential_candidate
Get Lobbyist Bundlers for a Specific Committeeget_lobbyist_bundlers
Get a Specific Member’s Vote Positionsget_member_vote_position
Get Members Leaving Officeget_members_leaving
Get New Membersget_new_members
Get Nominees by Stateget_nominees_by_state
Get Quarterly Office Expenses by Category for a Specific House Memberget_quarter_office_expenses_by_category_house_member
Get Quarterly Office Expenses by a Specific House Memberget_quarter_office_expenses_house_member
Get all Candidates in a State for an Election Cycleget_races_for_state
Get Recent Amendmentsget_recent_amendments
Get Recent Committee Hearingsget_recent_committee_hearing
Get Recent Congressional Statementsget_recent_congressional_statements
Get Congressional Statements by Dateget_recent_congressional_statements_by_date
Get Congressional Statements by Search Termget_recent_congressional_statements_by_term
Get Recent Electioneering Communicationsget_recent_electioneering_communications
Get Recent House and Senate Floor Actionsget_recent_house_senate_floor_actions
Get Recent Independent Expendituresget_recent_independent_expend
Get Recent Late Contributions https://www.propublica.org/datastore/apis HTTP Request: GET https://api.propublica.org/campaign-finance/v1/cycle/contributions/48hourget_recent_late_contributions
Get Recent Late Contributions to a Specific Candidate https://www.propublica.org/datastore/apis HTTP Request: GET https://api.propublica.org/campaign-finance/v1/cycle/candidates/fec-id/48hourget_recent_late_contributions_candidate
Get Recent Late Contributions to a Specific Committee https://www.propublica.org/datastore/apis HTTP Request: GET https://api.propublica.org/campaign-finance/v1/cycle/committees/fec-id/48hourget_recent_late_contributions_committee
Get Recent Late Contributions by Dateget_recent_late_contributions_date
Get Recent Lobbying Representation filingsget_recent_lobbying_representation_filings
Get Recent Nominations by Categoryget_recent_nominations_by_category
Get Recent Official Communicationsget_recent_official_communications
Get Recent Official Communications by Categoryget_recent_official_communications_by_category
Get Recent Official Communications by Chamberget_recent_official_communications_by_chamber
Get Recent Official Communications by Dateget_recent_official_communications_by_date
Get Recent Personal Explanationsget_recent_personal_explanations
Get Recent Personal Explanations by a Specific Membersget_recent_personal_explanations_specific_member
Get Recent Personal Explanation Votesget_recent_personal_explanations_votes
Get Recent Personal Explanation Votes by Categoryget_recent_personal_explanations_votes_by_category
Get Recent Personal Explanation Votes by a Specific Memberget_recent_personal_explanations_votes_specific_member
Get Recent Personal Explanation Votes by a Specific Member by Categoryget_recent_personal_explanations_votes_specific_member_by_category
Get Recent Votesget_recent_votes
Get Recently Added Independent Expenditure-Only Committees.get_recently_added_independent_expenditure_committees
Get Top 20 Candidates in Specific Financial Category HTTP Request: GET https://api.propublica.org/campaign-finance/v1/cycle/candidates/new (https://www.propublica.org/datastore/apis)get_recently_candidates
Get Recently Added Committees.get_recently_committees
Get Related Bills for a Specific Billget_related_bills
Get Senate Nomination Votesget_senate_nomination_votes
Get a Specific Billget_specific_bill
Get a Specific Bill Subjectget_specific_bill_subject
Get a Specific Committeeget_specific_committee
Get a Specific Lobbying Representation filingget_specific_lobbying_representation_filings
Get a Specific Nominationget_specific_nominations
Get a Specific Roll Call Voteget_specific_roll_call_vote
Get a Specific Subcommitteeget_specific_subcommittee
Get State Party Countsget_state_party_counts
Get Statement Subjectsget_statement_subjects
Get Subjects for a Specific Billget_subjects_for_bill
Get Top 20 Candidates in Specific Financial Categoryget_top20_candidate_of_FinancialCategory
Get Upcoming Billsget_upcoming_bills
Get Votes by Dateget_votes_by_date
Get Votes by date rangeget_votes_by_date_range
Get Votes by Typeget_votes_by_type
To get a list of members of a particular chamber in a particular Congresslist_members_chamber_congress
Lists of Committeeslists_of_committees
Convert a ProPublica API result a Data Framepp_convert_to_data_frame
Execute a query against the ProPublica APIpp_query
Get Recent Bills by a Specific Memberrecent_bills_by_member
Get Recent Bills by a Specific Subjectrecent_bills_by_subject
Get Recent Billsrecent_bills_by_type
Retrieve the relevant ProPublica API key for congress API or campaign finance APIretrieve_key
Search Lobbying Representation Filingssearch_lobbying_representation_filings
US Congressional Districtsus_congressional_districts
Validate that year cycle is correctvalidate_cycle
Validate that a district abbreviation is correctvalidate_district
Validate that a abbreviation is correctvalidate_state