Comments (13)
code runs and appears to download all 2020 data. But hits an error
FileNotFoundError: [Errno 2] No such file or directory: 'c:\Users\nathanael99\MyProjects\github\intersect-community-data\WorkNPR/output/ks_20057_od_2020_na.csv'
from intersect-community-data.
comparing lodes_fullloop.py from Amin and NPR. Looks like Amin added some good try options and error handling.
Added a new function wac_rac_block_to_joblist
from intersect-community-data.
line 63 of lodes_datautil.py hard codes the output folder. Try to use this instead of output.
# Make directory to save output
datapath = 'data_LODES'
this seems to be working
from intersect-community-data.
comparing Amin's lodes_datautil.py
updates for using LODES8 verses LODES7. This could be added as an input
try except and error handling
cross walk now uses 2020 blocks instead of 2010
good place to use the year variable instead of hard coding.
from intersect-community-data.
significant updates to new_jobtypes function.
looks like addition of if statements to streamline the adding of new jobtypes. Ask @aminenderami about the additions to this function.
from intersect-community-data.
looks like a good bug fix. need to think about why I set expect count to 1 instead of 0
from intersect-community-data.
lots of new functions added! need to review them but they look really good. Start at line 1577 of lodes_datautil.py
from intersect-community-data.
error for last block in notebook:
FileNotFoundError: [Errno 2] No such file or directory: 'output2/wac_200579616001020_joblist_2020.csv'
looks like same issue with the output folder
change to outputfoldername = "data_LODES",
error persists
output2
ahh - looks like I need to create a directory called output2
fixed issue added code to make a folder in data_LODES to save joblists
Good thing county 20057 is small
https://censusreporter.org/profiles/05000US20057-ford-county-ks/
from intersect-community-data.
Looks like @aminenderami code goes up to making the wac and rac job lists.
jobs
wac_200579616001020_joblist_2020 = 11
wac_200579616001046_joblist_2020 = 39
wac_200579616001066_joblist_2020 = 2
wac_200579616001087_joblist_2020 = 4
wac_200579616001153_joblist_2020 = 11
wac_200579616001171_joblist_2020 = 48
wac_200579616001175_joblist_2020 = 3
wac_200579616001197_joblist_2020 = 4
wac_200579616001230_joblist_2020 = 27
wac_200579616001233_joblist_2020 = 130
total jobs in wac = 279
https://onthemap.ces.census.gov/
looks like jobtypes are just for industry code 1 and jobtypes 3 and 9
ahh - no the issue is that the code is only running for the first 10 blocks.
for block in block_list[0:10]:
from intersect-community-data.
code for MCMCSA have not been modified.
from intersect-community-data.
link to Nathanael's old notes https://docs.google.com/document/d/1JMqe29KlwZrb2ajAuQ6HmV7s0qG-_nm5fveRUbiFmNQ/edit?usp=sharing
from intersect-community-data.
next steps - work on running MCMCSA
pyncoda\99_SandboxCode\SandboxNPR\LODES_1av4_CleanLODESdata_2022-02-18.ipynb
check issue with unique id set in loop.
from intersect-community-data.
summary - made only minor errors to Employment Inventory.ipynb. Mainly just issues with where the data was being saved.
Need to look at error found in:
#52
Work on MCMCSA code
from intersect-community-data.
Related Issues (20)
- Add HUA Application Section to Annotated Bibliography HOT 2
- Get "Used By
- Get "Used By" section on repo
- Run code in codespace HOT 20
- Issue with family variable in Oceana County
- why are there 2 data-axel folders?
- Add to Annotated Bibliography HOT 2
- workflow for prechui HOT 1
- found bug - expected total seems to decrease
- rework joblist to prec merge
- sys.path[0] HOT 3
- dtype issue HOT 3
- apply map for removing .0 HOT 2
- project overview not found HOT 1
- output data folders HOT 5
- pop_results_tables
- dtype for point_gdf HOT 1
- future warnings to resolve HOT 1
- Test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intersect-community-data.