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:
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')) |
Bug tracker:https://github.com/beanumber/etl/issues
Last updated 1 years agofrom:a834c61b9b. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | NOTE | Nov 05 2024 |
R-4.5-linux | NOTE | Nov 05 2024 |
R-4.4-win | OK | Nov 05 2024 |
R-4.4-mac | OK | Nov 05 2024 |
R-4.3-win | OK | Nov 05 2024 |
R-4.3-mac | OK | Nov 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create an ETL package skeleton | create_etl_package |
Return the database type for an ETL or DBI connection | db_type db_type.DBIConnection db_type.src_dbi |
Execute an SQL script | dbRunScript |
Wipe out all tables in a database | dbWipe |
Initialize an 'etl' object | etl etl.default is.etl print.etl summary.etl |
ETL functions for working with medium sized data | etl_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 schema | etl_init etl_init.default find_schema |
Match year and month vectors to filenames | extract_date_from_filename match_files_by_year_months |
Download only those files that don't already exist | smart_download |
Upload a list of files to the DB | smart_upload |
Connect to local MySQL Server using ~/.my.cnf | src_mysql_cnf |
Ensure that years and months are within a certain time span | valid_year_month |