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, type = "yellow", ...)
## S3 method for class 'etl_nyctaxi'
etl_load(obj, years = as.numeric(format(Sys.Date(),
"%Y")), months = 1:12, type = "yellow", ...)
## S3 method for class 'etl_nyctaxi'
etl_transform(obj, years = as.numeric(format(Sys.Date(),
"%Y")), months = 1:12, type = "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. |
type |
a character variable giving the type of data the user wants to download.
There are four options: yellow (meaning yellow taxi data),
green (meaning green taxi data), uber, and lyft. Users can only choose one transportation at a time.
The default is |
... |
arguments passed to |
extract NYC Yellow taxi trip data from Jan 2009 to the most recent month, Green taxi trip data from Aug 2013 to the most recent month data from NYC Taxi & Limousine Commission, Uber trip data from April to September 2014 and January to June 2015, Lyft weekly-aggregated data from 2015 to the most recent week.
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.