Visitar URL original
add functionality to make it easy to change target output locations · Issue #27 · USGS-R/drb-do-ml · GitHub
Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
This repository was archived by the owner on May 28, 2024. It is now read-only.

add functionality to make it easy to change target output locations #27

Open

Description

@jsadler2

For the use case where we are working on Tallgrass/Caldera, it would be helpful to make the location where the targets are built easily changeable. That way we can have a central data store on a shared folder in Caldera. In addition to it being shared (which will be nice so that targets don't have to be rebuilt unnecessarily), it's better to have the actual data in Caldera as opposed to our home directories.

Activity

  1. jsadler2 commented on Dec 14, 2021

    @jsadler2
    CollaboratorAuthor

    This is easy to do for the non-file targets - you add a _targets.yaml file and change the "store" variable. It will be a little trickier for the file targets. I think what I'll do is just have some string manipulation in the _targets.R file to create the output dir variable and that will be concatenated with the output file directory paths.

  2. self-assigned this
    on Dec 14, 2021
  3. added a commit that references this issue on Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions