Description Usage Arguments Value Author(s) Examples
Get specified table from OxCOVID19 Database
1 2 3 | get_table(con, tbl_name)
get_tables(con, tbl_names)
|
con |
Connection to OxCOVID19 Database. This can be specified using
the |
tbl_name |
Name of table available in OxCOVID19 Database. Should be
one of the table names given by a call to |
tbl_names |
Name of tables available in OxCOVID19 Database. Should
be a character vector of names of tables found in the table names given by
a call to |
For get_table()
, an RPostgres_tbl
object of the specified
OxCOVID19 Database table. For get_tables()
, an RPostgres_tbl
object
containing a named list of the specified OxCOVID19 Database tables.
Ernest Guevarra
1 2 3 4 5 6 7 8 | ## Create a connection to OxCOVID19 Database
con <- connect_oxcovid19()
## Get epidemiology table
get_table(con = con, tbl_name = "epidemiology")
## Get epidemiology and weather tables
get_tables(con = con, tbl_names = c("epidemiology", "weather"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.