Skip to content

Commit

Permalink
Merge branch 'master' of github.com:vh-d/RETL
Browse files Browse the repository at this point in the history
  • Loading branch information
vh-d committed Jun 27, 2020
2 parents 8231cf3 + 9ee95e6 commit c658867
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 41 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Encoding: UTF-8
LazyData: true
Imports:
data.table
RoxygenNote: 6.1.1
RoxygenNote: 7.1.0
Suggests:
testthat,
DBI,
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ your_db <- dbConnect(RMariaDB::MariaDB(), group = "your-db")
etl_read(from = your_csv) %>% etl_write(to = my_db, name = "customers")

# extract -> transform -> load
etl_read(from = my_db, name = "orders") %>% # extract from a database
dbq(, order_year := year(order_date)) %>% # transform (adding a new column)
etl_write(to = your_db, name = "customers") # load
etl_read(from = my_db, name = "orders") %>% # db query: EXTRACT from a database
dtq(, order_year := year(order_date)) %>% # data.table query: TRANSFORM (adding a new column)
etl_write(to = your_db, name = "customers") # LOAD to a db
```

### Other tools
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ your_db <- dbConnect(RMariaDB::MariaDB(), group = "your-db")
etl_read(from = your_csv) %>% etl_write(to = my_db, name = "customers")

# extract -> transform -> load
etl_read(from = my_db, name = "orders") %>% # extract from a database
dbq(, order_year := year(order_date)) %>% # transform (adding a new column)
etl_write(to = your_db, name = "customers") # load
etl_read(from = my_db, name = "orders") %>% # db query: EXTRACT from a database
dtq(, order_year := year(order_date)) %>% # data.table query: TRANSFORM (adding a new column)
etl_write(to = your_db, name = "customers") # LOAD to a db
```

### Other tools
Expand Down
6 changes: 4 additions & 2 deletions man/add_diff_value.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions man/convert_cols.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 17 additions & 5 deletions man/dtq.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions man/etl_write.RODBC.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions man/etl_write.odbc32.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 24 additions & 21 deletions man/pipe_table.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c658867

Please sign in to comment.