Skip to main content

A Python package to make it easier to visualize Census data.

Project description

censusviz

codecov Release Documentation Status

This package helps users more easily visualize maps using Census Population Estimate API and the Census Cartographic GeoJSON boundary files. It transforms GeoJSON files into easy to work with GeoPandas.GeoDataFrame and plot choropleth maps.

Installation

pip install censusviz

Dependencies

Usage

from censusviz import censusviz

# example functions

geocenpy.list_geoparams()

geocenpy.get_geocen_df(quality = "20m", year = "2010", area_type= "county")

geocenpy.get_geocen_plot(quality ="20m", year="2010", area_type="county", boundaries=False)

geocenpy.get_pop(api_key = my_api_key, year="2019", map = True)

geocenpy.get_house_est(api_key = my_api_key, year="2019", map = True)

geocenpy.get_region_pop(api_key = my_api_key, year="2019", map = True)

geocenpy.get_state_pop(api_key = my_api_key, year="2019", state_fip = "29", map = True)

Documentation

The official documentation is hosted on Read the Docs: https://censusviz.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

censusviz-0.1.6.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

censusviz-0.1.6-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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