Skip to content
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

BlaiseKelly master #249

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

BlaiseKelly master #249

wants to merge 5 commits into from

Conversation

Robinlovelace
Copy link
Member

  • dl.R
  • Moved here from utils as is a 'get' function to aid debugging.
  • grepl arguments wrong way around

BlaiseKelly and others added 5 commits July 21, 2024 21:41
swapped interactive with ask (which was not used) which is v important to be able to leave code running without being prompted.

Changed default file to second. The only year where two csvs are available is 2020 and for escooter data. Maybe this is interesting for some, but the other file should be the default.

returning destfile works better for dependent functions

get.R

main change is to skip the read_ functions which involve multiple nested functions appear to be unneccesary and are a headache to debug.

utils.R

Main change is to fix find_file_name function which was looking for a csv with year name for years before 2018. This data is all in one file which has 1979 in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants