Package: etl 0.4.1

etl: Extract-Transform-Load Framework for Medium Data

A predictable and pipeable framework for performing ETL (extract-transform-load) operations on publicly-accessible medium-sized data set. This package sets up the method structure and implements generic functions. Packages that depend on this package download specific data sets from the Internet, clean them up, and import them into a local or remote relational database management system.

Authors:Benjamin S. Baumer [aut, cre], Carson Sievert [ctb], Natalia Iannucci [ctb]

etl_0.4.1.tar.gz
etl_0.4.1.zip(r-4.5)etl_0.4.1.zip(r-4.4)etl_0.4.1.zip(r-4.3)
etl_0.4.1.tgz(r-4.4-any)etl_0.4.1.tgz(r-4.3-any)
etl_0.4.1.tar.gz(r-4.5-noble)etl_0.4.1.tar.gz(r-4.4-noble)
etl_0.4.1.tgz(r-4.4-emscripten)etl_0.4.1.tgz(r-4.3-emscripten)
etl.pdf |etl.html
etl/json (API)
NEWS

# Install 'etl' in R:
install.packages('etl', repos = c('https://beanumber.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/beanumber/etl/issues

On CRAN:

7.15 score 127 stars 1 packages 37 scripts 394 downloads 20 exports 65 dependencies

Last updated 1 years agofrom:a834c61b9b. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winNOTENov 05 2024
R-4.5-linuxNOTENov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:create_etl_packagedb_typedbRunScriptdbWipeetletl_cleanupetl_createetl_extractetl_initetl_loadetl_transformetl_updateextract_date_from_filenamefind_schemais.etlmatch_files_by_year_monthssmart_downloadsmart_uploadsrc_mysql_cnfvalid_year_month

Dependencies:askpassbitbit64blobclicliprcpp11crayoncredentialscurlDBIdbplyrdescdigestdownloaderdplyrfansifsgenericsgertghgitcredsgluehmshttrhttr2inijanitorjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrlangrprojrootrstudioapirvestselectrsnakecasestringistringrsystibbletidyrtidyselecttimechangetzdbusethisutf8vctrsvroomwhiskerwithrxml2yamlzip

Extending etl

Rendered fromextending_etl.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2021-05-17
Started: 2017-08-07

Using etl

Rendered fromusing_etl.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2023-10-11
Started: 2017-08-07

Readme and manuals

Help Manual

Help pageTopics
Create an ETL package skeletoncreate_etl_package
Return the database type for an ETL or DBI connectiondb_type db_type.DBIConnection db_type.src_dbi
Execute an SQL scriptdbRunScript
Wipe out all tables in a databasedbWipe
Initialize an 'etl' objectetl etl.default is.etl print.etl summary.etl
ETL functions for working with medium sized dataetl_cleanup etl_cleanup.default etl_create etl_create.default etl_extract etl_extract.default etl_extract.etl_cities etl_extract.etl_mtcars etl_load etl_load.default etl_transform etl_transform.default etl_transform.etl_cities etl_update etl_update.default
Initialize a database using a defined schemaetl_init etl_init.default find_schema
Match year and month vectors to filenamesextract_date_from_filename match_files_by_year_months
Download only those files that don't already existsmart_download
Upload a list of files to the DBsmart_upload
Connect to local MySQL Server using ~/.my.cnfsrc_mysql_cnf
Ensure that years and months are within a certain time spanvalid_year_month