dr_read_source()
Data frames and zero-argument functions work directly. File paths are
normalized by
dr_add_source(). A source method returns a data frame or
tibble or a lazy table. Use a function to call an API or another existing client.
Usage
dr_read_source(source, ...)Arguments
- source
- Source object, data frame or zero-argument function.
- ...
- Adapter-specific options.
Value
A data frame or tibble. Connections supplied by callers stay open.
Examples
dr_read_source(function() data.frame(id = 1:2))Documentation 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.