etl_load
takes files saved in the load folder to
be prepared for loading into a PostgreSQL database. Users must use the db_con
argument to specify a database connection. Users can supply month, day, and year
arguments to load a specific subset of data into their database.
When no arguments are specified all data in the load folder will be uploaded.
It is important to be aware that etl_load
is written so that duplicate entries
of data are updated like a SQL upsert.
1 2 | ## S3 method for class 'etl_covid'
etl_load(obj, db_con, month, day, year, ...)
|
obj |
an |
db_con |
A connection to a PostgreSQL database |
month |
numeric vector specifying month(s) |
day |
numeric vector specifying day(s) |
year |
numeric vector specifying year(s) |
... |
arguments passed to methods |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.