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 runprocess_boundaries.py
download_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.pyprocess_boundaries.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.9.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for census_parquet-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 859963ea6fbcce12da4da43d7ed72b8132fc21d5bbc3eeb50622da6e26fa0bf5 |
|
MD5 | 36fc71ba9a4b907e2f92498e86e5711b |
|
BLAKE2b-256 | 6e3c4a6bdc58d99ed11b1f39611d54e936fe925a44f10411d80f8296288fd8c3 |