A library of API wrappers for US Federal Government datasets.
Project description
fedwrap
A Python package providing convenient wrappers for accessing and working with US federal datasets, including the American Community Survey and CDC PLACES.
Table of Contents
Overview
fedwrap simplifies access to federal datasets by providing Pythonic wrappers for public APIs and data downloads. The package is designed for researchers, analysts, and developers who need streamlined access to high-value US government data.
Features
- Easy access to the American Community Survey (ACS) and the CDC PLACES dataset
- Data returned as pandas DataFrames for easy analysis
Installation
pip install fedwrap
Quick Start
from fedwrap import census_acs, cdc_places
# Example: Fetch ACS data
acs_df = census_acs.get_education_data(year=2022, geography="county")
# Example: Fetch CDC PLACES data
places_df = data = get_places_data(
geo='county',
year='2022',
measureid='ARTHRITIS',
datavaluetypid='CrdPrv'
)
Modules
- census_acs provides functions for accessing data from the American Community Survey API
- cdc-places provides functions for accessing data from the CDC PLACES dataset
Dependencies
- pandas
- requests
- beautifulsoup4
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any questions or suggestions, open an issue or contact Mark Aronson.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fedwrap-0.1.0.tar.gz.
File metadata
- Download URL: fedwrap-0.1.0.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
260caa424a114f11027607cfdd04ad61fe0a0c997b7b47f62b41ce21dfd32c1d
|
|
| MD5 |
eb009069af4f90da285cb69a19407283
|
|
| BLAKE2b-256 |
42d59722dc3bc15d2a6fe7cc4ceb2871dc07877958f16e6736ca3609b858c204
|
File details
Details for the file fedwrap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fedwrap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a0a323b15f249e2c9af1252c6016a641a0e3cc6ecb93282a04c73487063ea3f
|
|
| MD5 |
425602eab60e3be635ac9ddf6c2ce576
|
|
| BLAKE2b-256 |
a6db6fcea0ce393abc9ef4b7d8a394a506432dbf7c8353f75ae8ca16499bf727
|