npr99 / intersect-community-data Goto Github PK
View Code? Open in Web Editor NEWPython functions to obtain and clean data required for the version 2 Housing Unit Allocation. Workflow uses Census API.
Python functions to obtain and clean data required for the version 2 Housing Unit Allocation. Workflow uses Census API.
Started slack channel on IN-CORE
https://in-core.slack.com/archives/C03MLKDV4ER
pyhui stands for python housing unit inventory... need to change the name but have not decided on the future package name
options
pyicd - python intersect community data
pyincoda
pyintcomdat
pyintersectcd
pyntrsctcmntydt
pyixcommunitydata
requirements.txt
https://github.com/Kanaries/pygwalker/tree/main
I noticed in pygwalker github page that they have a used by section. Also the package has a nice readme page.
It looks like a package that uses another package needs to have a requirments.txt file - then github can identify the package that depends on another package and will make a used by section on the repository.
code in population inventory private github
requirements.txt
https://github.com/Kanaries/pygwalker/tree/main
I noticed in pygwalker github page that they have a used by section. Also the package has a nice readme page.
It looks like a package that uses another package needs to have a requirments.txt file - then github can identify the package that depends on another package and will make a used by section on the repository.
see if the 2 folders can be combined
I have started a entity relationship figure in LUCID chart here is the link:
https://lucid.app/lucidchart/aaa0a9d7-087e-4a23-8e75-67feb6efb684/edit?viewport_loc=19%2C179%2C3762%2C1893%2C0_0&invitationId=inv_9dc49768-f696-4dcd-990f-a92a5d52a56b
getting ready to publish example files for the person record files, with student and staff examples.
prechui_v0-2-0_37155_2010_rs9876.csv
prec_v0-2-0_Lumberton_NC_2010_rs9876_schoolstaff.csv
prec_v0-2-0_Lumberton_NC_2010_rs9876_students.csv
I need to work on getting this workflow up-to-date on github. Right now it is not clear who these files could be replicated.
The code was from 2022-03-02
https://github.com/transitland/transitland-processing-animation
Github repo has python code for animating points on a map over time
Homeless students
share housing with other persons due to loss of housing or economic hardship, live in hotels or motels, trailer parks, or campgrounds due to lack of alternative arrangements, those awaiting foster care placement, living in substandard housing, and children of migrant workers (CRS, 2018)
good list of characteristics - some of these are in the housing unit and person record inventory. Shared housing, trailer parks - could be identified in the data. Foster care might be something to summarize - the census bureau has counts of people in foster care.
I will see if I can flag shared housing. The person record inventory has household structure - could be based on number of adults to children. I would assume that shared housing would have multiple adults (3-4+) and multiple children (3+)
According to the National School Boards Association, during the 2018-2019 school year, 77% of homeless students lived in shared housing, 12% lived in shelters, transitional housing, or were awaiting foster care, 7% lived in hotels or motels, and 4% were unsheltered (Cai, 2021).
Cai, Jinghong. (2021). Homeless Students in Public Schools Across America: Down but Not Out. National School Boards Association.
Congressional Research Service (CRS). (2018). Homelessness: Targeted Federal Programs. CRS Report.
GitHub has a new option to run code in a virtual environment called codespace. This sounds like a good idea but - when I initially launch the codespace the environment is not setup. I had expected the environment to be based on the .yml file. But it looks like I need to make a .dev file.
Following these instructions:
https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-python-project-for-codespaces
We could use ipums to see what the general likelihood is that households have 0 to x number of vulnerabilities
Also could perform PCF to see how vulnerabilities relate to each other and which ones are highlighly correlated, the way the different categories weight could help guide the synthetic population variables to include
running code for oceana county
found that there is an issue with the family variable having missing values.
The code did not run the first time - error at the point of making the figure for family income.
The code ran fine the second time through.
Also an error with building available table. Might be an issue with the data not having anyone in missing buildings.
Modify housing unit inventory income model to include race, ethnicity, age of householder, and tenure
some of the code in population inventory private github
working on workflow to run the Housing Unit Inventory on a non incore dataset
For example - in southeast texas we have National Address Data Inventory and Parcel data. What do I need to do to make the hua work with this type of file
U.S. Poverty Rates Differ by Age and County
Can ncoda output replicate poverty by age?
Google scholar search Housing Unit Allocation
Add general articles that use HUA to the annotated bibliography
For each citation provide a short description of how the article uses HUA data
Create OpenStreetMap plus Microsoft Building footprint building inventory generation
code in
G:\Shared drives\HRRC_IN-CORE\Text\Rahimi et al 2022 - Galveston Recovery Models
code in population inventory private github
Amini, M., Jeon, H., Sanderson, D. R., Cox, D. T., Barbosa, A. R., & Cutler, H. (2023). Integrated Engineering–Economic Analysis for Multihazard Damage and Loss Assessment. Journal of Infrastructure Systems, 29(4), 04023031.
https://ascelibrary.org/doi/pdf/10.1061/JITSE4.ISENG-2229
references HUA but may not uses CGE data. Think about including it.
current code uses the county name as the primary folder for the directory structure
consider using the community name instead and put all files inside the same folder for the county loop
look up ACS tables
code in population inventory private github
add code (and update code) to run housing unit allocation in icd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.