Skip to main content

census-parquet

Python tools for creating and maintaining Parquet files from US 2020 Census Data.

Installation

To use the data download shell script files first install wget.

To install the census-parquet package use

pip install census-parquet

This will also install the required Python dependencies which are:

  1. click
  2. dask
  3. dask_geopandas
  4. geopandas
  5. numpy
  6. openpyxl
  7. pandas
  8. pyarrow

Usage

To run the census-parquet code simply use

run_census_parquet

This runs the following scripts in order:

  1. download_boundaries.sh - This script downloads the Census Boundary data needed to run process_boundaries.py
  2. download_population_stats.sh - This script downloads population stat data needed for process_blocks.py
  3. download_blocks.sh - This script downloads the Census Block data needed to run process_blocks.py
  4. process_boundaries.py - This script processes the Census Boundary data and creates parquet files. The parquet files will be output into a boundary_outputs folder.
  5. process_blocks.py - This script processes Census Block data and creates parquet files. The final combined parquet file will have the name tl_2020_FULL_tabblock20.parquet.

Metadata

Release files for census-parquet 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for census-parquet 0.0.9
File Size Uploaded
census-parquet-0.0.9.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for census-parquet 0.0.9
File Interpreter ABI Platform
census_parquet-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / census-parquet-0.0.9.tar.gz

Download URL census-parquet-0.0.9.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ab4c7867ef23a223a01454c459bdccb1334f50b4f492f3b50386dab307113843
BLAKE2b-256 checksum
How to use checksums
4d58cf8be64dfdd5afd32b10df873c2e3c64d62804cb63f8622637b066adeb14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / census_parquet-0.0.9-py3-none-any.whl

Download URL census_parquet-0.0.9-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
859963ea6fbcce12da4da43d7ed72b8132fc21d5bbc3eeb50622da6e26fa0bf5
BLAKE2b-256 checksum
How to use checksums
6e3c4a6bdc58d99ed11b1f39611d54e936fe925a44f10411d80f8296288fd8c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page