Skip to main content

Censuscoding: determine the Census blockgroup for a street address

Project description

censuscoding

censuscoding is a self-contained tool for determining the Census blockgroup for a street address. It is developed by Research Improving People's Lives (RIPL).

Installation

Due to outstanding bugs in dependencies introduced in Python 3.10.0, censuscoding requires Python >=3.7 and <3.10.

To install from PyPI using pip:
pip install censuscoding

To install a development version from the current directory:
pip install -e .

Running

There is a single command line script included, censuscoding.

censuscoding supports the following arguments:

  • --input or -i - path to an input CSV file containing columns record_id, zip_code, and address
  • --output or -o - path to output CSV file containing record_id, zip_code, blkgrp
  • --record_id - field name corresponding to the record ID (default: 'record_id')
  • --zip_code - field name corresponding to the zip code (default: 'zip_code')
  • --address - field name corresponding to the street address with street name and number (default: 'address')

Contributors

License

censuscoding is freely available for non-commercial use under the license provided in LICENSE. To inquiry about commercial use, please contact connect@ripl.org.

Data

Data included in the censuscoding package were derived from the following sources:

Rhode Island Geographic Information System E911 Site/Structure Address Points

Version e911Sites21r1.

These data are designed and maintained for RI E 9-1-1 mapping software. They are not intended for any other purpose. This dataset is provided 'as is.’ The producer(s) of this dataset, contributors to this dataset, the Rhode Island Geographic Information System (RIGIS) consortium, the State of Rhode Island, and the University of Rhode Island do not make any warranties of any kind for this dataset, and are not liable for any loss or damage however and whenever caused by any use of this dataset. Please acknowledge both RIGIS and the primary producer(s) of this dataset in any derived products. Versions of the RIGIS logo suitable for both printed and web-based products are available at https://www.rigis.org.

US Census Bureau TIGER/Line Shapefiles

Version 2020.

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

censuscoding-0.1.0.tar.gz (628.4 kB view details)

Uploaded Source

Built Distribution

censuscoding-0.1.0-py3-none-any.whl (685.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: censuscoding-0.1.0.tar.gz
  • Upload date:
  • Size: 628.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for censuscoding-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93c17f7104ca679d9d5325d4d140c3afde9c15d05aea559f2d68b97523d8c591
MD5 7f28e048a00c2cf76188bafe4f615c22
BLAKE2b-256 825170fd9b44f712214b4b2cc7cdcfb3d6c1b4ae50cd2c9a6c90de39b53535c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: censuscoding-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 685.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for censuscoding-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2221cf5fce03d1c67ef2989d387a8cd54831a6036291d1a9b83657b4a02d605e
MD5 685a626379fe01818ccc307aeafba3f0
BLAKE2b-256 daa3b385b4ae29c0a7d7b416fc3292770eebcf3347f8ffa6498c1e7dcaa1ead0

See more details on using hashes here.

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