Tools for generating Parquet files from US Census 2020
Project description
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:
Usage
To run the census-parquet code simply use
run_census_parquet
This runs the following scripts in order:
download_boundaries.sh
- This script downloads the Census Boundary data needed to run boundary_processing.pydownload_population_stats.sh
- This script downloads population stat data needed for process_blocks.pydownload_blocks.sh
- This script downloads the Census Block data needed to run process_blocks.pyboundary_processing.py
- This script processes the Census Boundary data and creates parquet files. The parquet files will be output into aboundary_outputs
folder.process_blocks.py
- This script processes Census Block data and creates parquet files. The final combined parquet file will have the nametl_2020_FULL_tabblock20.parquet
.
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
census-parquet-0.0.7.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for census_parquet-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f1c16b3b914248d0ab3e9d2735621a986d8f57f778451c58b10df05c48b952 |
|
MD5 | 51fda07309ed70c3cc046f7104dc1997 |
|
BLAKE2b-256 | 841e9ab6395c2c8231f8f0bae99646da92129dc59d26e9a0bce053f37c137ede |