censusdis


Namecensusdis JSON
Version 1.1.6 PyPI version JSON
download
home_pagehttps://github.com/vengroff/censusdis
SummaryUS Census utilities for a variety of data loading, analysis, and mapping purposes.
upload_time2024-04-30 15:20:09
maintainerNone
docs_urlNone
authorDarren Vengroff
requires_python<4.0,>=3.9
licenseHL3-CL-ECO-EXTR-FFD-LAW-MIL-SV
keywords census demographics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # `censusdis`

![U.S. Map of Integration](https://github.com/vengroff/censusdis/raw/main/docs/_static/images/sample05.png)

[![Hippocratic License HL3-CL-ECO-EXTR-FFD-LAW-MIL-SV](https://img.shields.io/static/v1?label=Hippocratic%20License&message=HL3-CL-ECO-EXTR-FFD-LAW-MIL-SV&labelColor=5e2751&color=bc8c3d)](https://firstdonoharm.dev/version/3/0/cl-eco-extr-ffd-law-mil-sv.html)
![PyPI](https://img.shields.io/pypi/v/censusdis)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/censusdis)

![PyPI - Status](https://img.shields.io/pypi/status/censusdis?label=PyPI%20Status)
![PyPI - Format](https://img.shields.io/pypi/format/censusdis?label=PyPI%20Format)
![PyPI - Downloads](https://img.shields.io/pypi/dm/censusdis?label=PyPI%20Downloads)

![GitHub last commit](https://img.shields.io/github/last-commit/vengroff/censusdis)
![Tests Badge](https://github.com/vengroff/censusdis/raw/main/reports/junit/tests-badge.svg)
![Coverage Badge](https://github.com/vengroff/censusdis/raw/main/reports/coverage/coverage-badge.svg)
[![Documentation Status](https://readthedocs.org/projects/censusdis/badge/?version=latest)](https://censusdis.readthedocs.io/en/latest/?badge=latest)

censusdis is a package for discovering, loading, analyzing, and computing diversity, integration, and segregation metrics to U.S. Census demographic data. 
It is designed

- to support **every dataset**, **every geography, and every year**. It's not just about ACS data through the last time the software
was updated and released;
- to support **all geographies, on and off-spine**, not just states, counties, and census tracts;
- to have **integrated mapping capabilities** that save you time and extra coding;
- to be intuitive, Pythonic, and fast.
  
## Note:

For the full README, please visit the 
[censusdis source repository](https://github.com/vengroff/censusdis).

## Installation and First Example

censusdis can be installed with `pip`:

```shell
pip install censusdis
```

Every censusdis query needs four things:

1. What data set we want to query.
2. What vintage, or year.
3. What variables.
4. What geographies.

Here is an example of how we can use censusdis to download data once we know
those four things.

```python
import censusdis.data as ced
from censusdis.datasets import ACS5
from censusdis import states

df_median_income = ced.download(
    # Data set: American Community Survey 5-Year
    dataset=ACS5,
    
    # Vintage: 2022
    vintage=2022, 
    
    # Variable: median household income
    download_variables=['NAME', 'B19013_001E'], 
    
    # Geography: All counties in New Jersey.
    state=states.NJ,
    county='*'
)
```

There are many more examples in the tuturial and in the sample notebooks.

## Tutorial (A Great Place to Start!)

For a tutorial, please see the [censusdis-tutorial](https://github.com/vengroff/censusdis-tutorial) repository.
This tutorial was presented at [PyData Seattle 2023](https://pydata.org/seattle2023/). If you want to try it out for yourself, the README.md
contains links that let you run the tutorial notebooks live on [mybinder.org](https://mybinder.org/) in your browser without needing to set up a
local development environment or download or install any code.

### Tutorial Video

A 86 minute 
[video](https://www.youtube.com/watch?v=3vyC7ON0Tvg) 
of the tutorial as presented at 
[PyData Seattle 2023](https://pydata.org/seattle2023/)
is also available.

[![PyData Seattle Tutorial Video](https://img.youtube.com/vi/3vyC7ON0Tvg/0.jpg)](https://www.youtube.com/watch?v=3vyC7ON0Tvg)

## More Details

For the full README, lots of maps, demo notebooks, and more, please visit the 
[censusdis source repository](https://github.com/vengroff/censusdis).


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/vengroff/censusdis",
    "name": "censusdis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "census, demographics",
    "author": "Darren Vengroff",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/c2/45/0163191ab156e4dc1f086b08507228a635b88a67e66c2879fdb252252164/censusdis-1.1.6.tar.gz",
    "platform": null,
    "description": "# `censusdis`\n\n![U.S. Map of Integration](https://github.com/vengroff/censusdis/raw/main/docs/_static/images/sample05.png)\n\n[![Hippocratic License HL3-CL-ECO-EXTR-FFD-LAW-MIL-SV](https://img.shields.io/static/v1?label=Hippocratic%20License&message=HL3-CL-ECO-EXTR-FFD-LAW-MIL-SV&labelColor=5e2751&color=bc8c3d)](https://firstdonoharm.dev/version/3/0/cl-eco-extr-ffd-law-mil-sv.html)\n![PyPI](https://img.shields.io/pypi/v/censusdis)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/censusdis)\n\n![PyPI - Status](https://img.shields.io/pypi/status/censusdis?label=PyPI%20Status)\n![PyPI - Format](https://img.shields.io/pypi/format/censusdis?label=PyPI%20Format)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/censusdis?label=PyPI%20Downloads)\n\n![GitHub last commit](https://img.shields.io/github/last-commit/vengroff/censusdis)\n![Tests Badge](https://github.com/vengroff/censusdis/raw/main/reports/junit/tests-badge.svg)\n![Coverage Badge](https://github.com/vengroff/censusdis/raw/main/reports/coverage/coverage-badge.svg)\n[![Documentation Status](https://readthedocs.org/projects/censusdis/badge/?version=latest)](https://censusdis.readthedocs.io/en/latest/?badge=latest)\n\ncensusdis is a package for discovering, loading, analyzing, and computing diversity, integration, and segregation metrics to U.S. Census demographic data. \nIt is designed\n\n- to support **every dataset**, **every geography, and every year**. It's not just about ACS data through the last time the software\nwas updated and released;\n- to support **all geographies, on and off-spine**, not just states, counties, and census tracts;\n- to have **integrated mapping capabilities** that save you time and extra coding;\n- to be intuitive, Pythonic, and fast.\n  \n## Note:\n\nFor the full README, please visit the \n[censusdis source repository](https://github.com/vengroff/censusdis).\n\n## Installation and First Example\n\ncensusdis can be installed with `pip`:\n\n```shell\npip install censusdis\n```\n\nEvery censusdis query needs four things:\n\n1. What data set we want to query.\n2. What vintage, or year.\n3. What variables.\n4. What geographies.\n\nHere is an example of how we can use censusdis to download data once we know\nthose four things.\n\n```python\nimport censusdis.data as ced\nfrom censusdis.datasets import ACS5\nfrom censusdis import states\n\ndf_median_income = ced.download(\n    # Data set: American Community Survey 5-Year\n    dataset=ACS5,\n    \n    # Vintage: 2022\n    vintage=2022, \n    \n    # Variable: median household income\n    download_variables=['NAME', 'B19013_001E'], \n    \n    # Geography: All counties in New Jersey.\n    state=states.NJ,\n    county='*'\n)\n```\n\nThere are many more examples in the tuturial and in the sample notebooks.\n\n## Tutorial (A Great Place to Start!)\n\nFor a tutorial, please see the [censusdis-tutorial](https://github.com/vengroff/censusdis-tutorial) repository.\nThis tutorial was presented at [PyData Seattle 2023](https://pydata.org/seattle2023/). If you want to try it out for yourself, the README.md\ncontains links that let you run the tutorial notebooks live on [mybinder.org](https://mybinder.org/) in your browser without needing to set up a\nlocal development environment or download or install any code.\n\n### Tutorial Video\n\nA 86 minute \n[video](https://www.youtube.com/watch?v=3vyC7ON0Tvg) \nof the tutorial as presented at \n[PyData Seattle 2023](https://pydata.org/seattle2023/)\nis also available.\n\n[![PyData Seattle Tutorial Video](https://img.youtube.com/vi/3vyC7ON0Tvg/0.jpg)](https://www.youtube.com/watch?v=3vyC7ON0Tvg)\n\n## More Details\n\nFor the full README, lots of maps, demo notebooks, and more, please visit the \n[censusdis source repository](https://github.com/vengroff/censusdis).\n\n",
    "bugtrack_url": null,
    "license": "HL3-CL-ECO-EXTR-FFD-LAW-MIL-SV",
    "summary": "US Census utilities for a variety of data loading, analysis, and mapping purposes.",
    "version": "1.1.6",
    "project_urls": {
        "Homepage": "https://github.com/vengroff/censusdis",
        "Repository": "https://github.com/vengroff/censusdis"
    },
    "split_keywords": [
        "census",
        " demographics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0cf8bd7fc108a437b60aa8bb07de10eb7a394a29f07e0043388b6039687cca9b",
                "md5": "893f4ed8c6908708a764d53938d2a7fd",
                "sha256": "b35c1e31de582c0c42552c46b979eca56de8323a85f056dc42c82597a929a021"
            },
            "downloads": -1,
            "filename": "censusdis-1.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "893f4ed8c6908708a764d53938d2a7fd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 424484,
            "upload_time": "2024-04-30T15:20:04",
            "upload_time_iso_8601": "2024-04-30T15:20:04.022100Z",
            "url": "https://files.pythonhosted.org/packages/0c/f8/bd7fc108a437b60aa8bb07de10eb7a394a29f07e0043388b6039687cca9b/censusdis-1.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c2450163191ab156e4dc1f086b08507228a635b88a67e66c2879fdb252252164",
                "md5": "1c8721a084f10899ecfc76284ab7b287",
                "sha256": "a565f9a0f96626f35dbd562ee5f6bb10e636e7f369d3fdaf1a41f7f4aa289f19"
            },
            "downloads": -1,
            "filename": "censusdis-1.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "1c8721a084f10899ecfc76284ab7b287",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 387270,
            "upload_time": "2024-04-30T15:20:09",
            "upload_time_iso_8601": "2024-04-30T15:20:09.858604Z",
            "url": "https://files.pythonhosted.org/packages/c2/45/0163191ab156e4dc1f086b08507228a635b88a67e66c2879fdb252252164/censusdis-1.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-30 15:20:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "vengroff",
    "github_project": "censusdis",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "censusdis"
}
        
Elapsed time: 0.27582s