nycflights13 function

Database versions of the nycflights13 data

Database versions of the nycflights13 data

These functions cache the data from the nycflights13 database in a local database, for use in examples and vignettes. Indexes are created to making joining tables on natural keys efficient.

nycflights13_sqlite(path = NULL) nycflights13_postgres(dbname = "nycflights13", ...) has_nycflights13(type = c("sqlite", "postgres"), ...) copy_nycflights13(con, ...)

Arguments

  • path: location of SQLite database file
  • dbname, ...: Arguments passed on to src_postgres()
  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2024-03-19