Skip to content

Shorthand to write targets to a database #8

Open
@daranzolin

Description

@daranzolin

Maybe:

...
tar_plan(
  cars = mtcars,
  flowers = iris,
  tar_write_to_db(tables_loaded, cars, flowers)
  tar_sql(report, "inst/query.sql")
)
...

Then the db dependency could be specified in query.sql instead of individual tables?

-- tar_load(tables_loaded)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions