-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pennsylvania state cleaner #48
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping to see more progress on the PA cleaner. Let me know if you forgot to push the most recent work on this branch. Let me know if you have questions about the feedback that I left. If you're struggling, I suggest taking a look at other branches.
utils/PA_Data_Web_Scraper.py
Outdated
|
||
years = np.arange(start_year, end_year + 1) | ||
for year in years: | ||
link = const.PA_MAIN_URL + const.PA_ZIPPED_URL + str(year) + ".zip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An f-string might look more natural here.
link = f"{const.PA_MAIN_URL}{const.PA_ZIPPED_URL}{year}.zip"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments - there are some trends across functions that need to be cleaned up but nice progress!
utils/pennsylvania.py
Outdated
from utils import pennsylvania_helper_functions as helper | ||
from utils import clean | ||
import uuid | ||
# sys.path.append("/home/alankagiri/2023-fall-clinic-climate-cabinet") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this -- try to use the base path that aicha is using in constants.
added name to README.md
No description provided.