Description Usage Arguments Details See Also Examples
Extract NYC Taxi Trip Data from data from NYC Taxi & Limousine Commission
1 2 3 4 5 6 7 8 9 10 11 | ## S3 method for class 'etl_nyctaxi'
etl_extract(obj, years = as.numeric(format(Sys.Date(),
"%Y")), months = 1:12, types = "yellow", ...)
## S3 method for class 'etl_nyctaxi'
etl_load(obj, years = as.numeric(format(Sys.Date(),
"%Y")), months = 1:12, types = "yellow", ...)
## S3 method for class 'etl_nyctaxi'
etl_transform(obj, years = as.numeric(format(Sys.Date(),
"%Y")), months = 1:12, types = "yellow", ...)
|
obj |
an etl object |
years |
a numeric vector giving the years. The default is the most recent year. |
months |
a numeric vector giving the months. The default is January to December. |
types |
a character vector giving the type of taxi trip data of |
... |
arguments passed to |
extract NYC Yellow taxi trip data from Jan 2009 and Green taxi trip data from Aug 2013 data from NYC Taxi & Limousine Commission
load NYC Yellow taxi trip data from load directory into a sql database,
the default is a sqlite database
and/or green
. The default is yellow
.
transform NYC Yellow taxi trip data from raw directory to load directory
and/or green
. The default is yellow
.
1 2 3 4 5 6 7 8 | ## Not run:
taxi <- etl("nyctaxi", dir = "~/Desktop/nyctaxi/")
taxi %>%
etl_extract(years = 2016, months = 1:2, types = c("yellow","green")) %>%
etl_transform(years = 2016, months = 1:2, types = c("yellow","green")) %>%
etl_load(years = 2016, months = 1:2, types = c("yellow","green"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.