Skip to contents

Get Data from a DB

Usage

get_db_data(db, ...)

Arguments

db

a named list or a dm object.

...

not used.

Value

named list of datasets

Examples

if (FALSE) {
get_db_data(list(iris = iris, mtcars = mtcars, CO2 = CO2))
get_db_data(list(iris = iris, mtcars = mtcars, CO2 = CO2), "iris")
get_db_data(list(iris = iris, mtcars = mtcars, CO2 = CO2), "iris", "CO2")

db <- dm::dm_nycflights13() %>%
  dm_filter(airports, name == "John F Kennedy Intl")

get_db_data(db, "airports")
}