Generate a data-only package, including documentation, from data outputted by the `anyflights()` function. Please do not submit the outputted package to CRAN or similar repositories as original packages.
as_flights_package(data, name = make.names(deparse(substitute(data))))
data | A named list of dataframes outputted by
|
---|---|
name | The desired name of the resulting package as a character string.
The package will check that the supplied package name is valid using the
regular expression |
A directory containing a data-only package built around the supplied data.