Learn R Programming

etl (version 0.4.2)

create_etl_package: Create an ETL package skeleton

Description

Create an ETL package skeleton

Usage

create_etl_package(...)

Arguments

...

arguments passed to usethis::create_package()

Details

Extends usethis::create_package() and places a template source file in the R subdirectory of the new package. The file has a working stub of etl_extract(). The new package can be built immediately and run.

New S3 methods for etl_transform() and etl_load() can be added if necessary, but the default methods may suffice.

See Also

etl_extract(), etl_transform(), etl_load()

Examples

Run this code
if (FALSE) {
path <- file.path(tempdir(), "scorecard")
create_etl_package(path)
}
# Now switch projects, and "Install and Restart"

Run the code above in your browser using DataLab