Comments (5)
found issue where code sometimes uses the community label and other times uses county
from intersect-community-data.
def setup_directory():
# Define output directories
output_sourcedata = os.path.join('Outputdata', '00_SourceData')
output_directory = os.path.join(output_sourcedata, 'nces_ed_gov')
unzipped_output_directory = os.path.join(output_directory, 'unzipped')
# Create output directory if it does not exist
def create_directory(path):
if not os.path.exists(path):
print(f"Making new directory to save output: {path}")
os.makedirs(path)
else:
print(f"Directory {path} already exists.")
create_directory(output_sourcedata)
create_directory(output_directory)
create_directory(unzipped_output_directory)
return output_directory, unzipped_output_directory
from intersect-community-data.
replace
def setup_nsi_directory():
# Create output directory if it does not exist
output_folder = 'Outputdata'
output_sourcedata = 'Outputdata\00_SourceData'
output_directory = 'Outputdata\00_SourceData\nsi_sec_usace_army_mil'
# Make directory to save output
if not os.path.exists(output_folder):
print("Making new directory to save output: ",
output_folder)
os.mkdir(output_folder)
if not os.path.exists(output_sourcedata):
print("Making new directory to save output: ",
output_sourcedata)
os.mkdir(output_sourcedata)
if not os.path.exists(output_directory):
print("Making new directory to save output: ",
output_directory)
os.mkdir(output_directory)
else:
print("Directory",output_directory,"Already exists.")
return output_directory
from intersect-community-data.
notice I had Outputdata not in camelcase OutputData
from intersect-community-data.
I think I just realized - the issue is that codespace is Linux and my code is designed to run on Windows
from intersect-community-data.
Related Issues (20)
- 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
- Integrate Amin's LODES data code HOT 13
- 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
- pop_results_tables
- dtype for point_gdf HOT 1
- future warnings to resolve HOT 1
- Test HOT 1
- article to add to readings
- Add to readings
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.