dr_source_file()
Define an input source
Usage
dr_source_file(
id,
path,
reader = function(path) utils::read.csv(path),
version = "1.0.0",
owner = "",
description = ""
)Arguments
- id, version
- Source identity and version.
- path
- Local input file.
- reader
- Function receiving the immutable landed file path.
- owner, description
- Metadata.
Value
Source specification. Files are read only at execution time.
Examples
source <- dr_source_file("orders.file", "orders.csv", reader = utils::read.csv)
sourceDocumentation source snapshot · View source at d9cb454 ↗
Code examples are documented source examples; they are not executed in this website build.
Code examples are documented source examples; they are not executed in this website build.