Skip to main content

Python package to obtain the FEC data of current US senators.

Project description

senator_fec_data

codecov Release Documentation Status

Python package to obtain the FEC data of current US senators.

Installation

$ pip install -i https://test.pypi.org/simple/ senator_fec_data

Features

This package returns data on U.S. Senators from the FEC API (https://api.open.fec.gov/developers/). Users can obtain a dataset of the current senators and receive the FEC candidate ID associated with those senators. Users are able to search facts about senator FEC filings, visualize their FEC results, and even produce a full report on their senators.

Dependencies

  • bs4
  • os
  • requests
  • json
  • pandas as pd
  • matplotlib.pyplot
  • xml.etree.ElementTree

Usage

Find more information about this package and its use at ./senator_fec_data/Extended_Tutorial.

Documentation

The official documentation is hosted on Read the Docs: https://senator_fec_data.readthedocs.io/en/latest/

Contributors

We welcome and recognize all contributions. You can see a list of current contributors in the contributors tab.

Credits

This package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from the pyOpenSci/cookiecutter-pyopensci project template and the audreyr/cookiecutter-pypackage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

senator_fec_data-0.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

senator_fec_data-0.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file senator_fec_data-0.1.0.tar.gz.

File metadata

  • Download URL: senator_fec_data-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.7 Darwin/20.1.0

File hashes

Hashes for senator_fec_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9712df50ea4685721745f2ca3aed25535c08d77ce4440351c92c625afa8f1627
MD5 d3c58b0120ea73bfa8abb6b1f4100a9a
BLAKE2b-256 476b0e57c77a331f2a089809d31022e25d300044899efd349b25dea58d4c47f8

See more details on using hashes here.

File details

Details for the file senator_fec_data-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: senator_fec_data-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.7 Darwin/20.1.0

File hashes

Hashes for senator_fec_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e73f033c881e53745d3747d0e7da4dd5d60c29e9714bf30a917b30066e305226
MD5 38ca1b1124555b03523679a5ace8087c
BLAKE2b-256 add76c27fbbc07651c4afe02766938503d2692893046fcda3756d55ce7e6e5bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page