Generate population files for FRED by assigning schools and workplaces to a synthetic population generated with rti_synth_pop.
The project depends on the following input files:
This file is generated by running rti_synth_pop on the state you are synthesizing.
Example file path: data/input/56_2019_persons.parquet
This file is generated by running rti_synth_pop on the state you are synthesizing.
Example file path: data/input/WY_2019_households.parquet
This file was retrieved from the NCES Table Generator. The following columns are required:
- Information
- Basic Information
- School ID (12-Digit) - NCES Assigned
- County Number
- Basic Information
- Characteristics
- School/District Classification Information
- Latitude
- Longitude
- Grade Span Information
- Lowest Grade Offered
- Highest Grade Offered
- School/District Classification Information
- Enrollments
- Total Enrollment
- Total Students, All Grades (Excludes AE)
- Total Enrollment
If downloading from the source, make sure to trim the header and footer metadata, as it is not valid CSV.
Required file path: data/input/public-schools.csv
This file was retrieved from the Private School Survey (PSS). CSV files are available in the 'Text' subcolumn of the 'Data' column.
Required file path: data/input/private-schools.csv
The project uses uv for Python project management. To install uv, follow their installation instructions.
The project uses pytask as its workflow management framework. To run the project, just invoke pytask:
# Within the python virtual environment
pytask
# Outside the python virtual environment
uv run pytask