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

Add default paths as R drive locations for data #1

Open
edwardsmarc opened this issue Apr 6, 2023 · 4 comments
Open

Add default paths as R drive locations for data #1

edwardsmarc opened this issue Apr 6, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request On hold

Comments

@edwardsmarc
Copy link
Contributor

Eventually, this repo will be accessed by staff on the AVD. The file paths to common datasets could then be set to the R drive path by default (e.g. for the NCC grid and pre-prepped 1km national datasets).

Users accessing the repo locally would just change the paths to match the data locations on their systems.

@edwardsmarc edwardsmarc added the enhancement New feature or request label Apr 6, 2023
@edwardsmarc edwardsmarc self-assigned this Apr 6, 2023
@DanWismer
Copy link
Contributor

I am wondering if we could have a config file that will set the paths programmatically if we are on local vs AVD?

@edwardsmarc
Copy link
Contributor Author

This could work well. We could source the config in initiate_project.R.

My only reservation is that hiding the file paths in a config might make it harder for R beginners to troubleshoot the scripts.

@DanWismer
Copy link
Contributor

True, we could just store them in a variable in the script then. We can figure out where the script is sitting. If its on the R: drive, use the R:drive path. If not, use a local path .. something like that.

@edwardsmarc
Copy link
Contributor Author

Placing this on hold until we find out whether GIS staff can use AVD for data prep, or if they need to run it locally which is the current recommendation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request On hold
Projects
None yet
Development

No branches or pull requests

2 participants