Description Usage Format Details Author(s) Source References Examples
Random samples of 1000 observations generated by the sample
function
from the 2016 January green and yellow taxi trip data.
1 2 3 |
For both, a dataframe (tbl_df
) each with 1,000 rows and 21 or 19 variables.
The following variables are values that are found in either the green_2016_01_sample
or yellow_2016_01_sample
data tables.
A code indicating the LPEP provider that provided the record.1= Creative Mobile Technologies, LLC; 2= VeriFone Inc.
The date and time when the meter was engaged.
The date and time when the meter was disengaged.
Taxi pickup date and time
Taxi dropoff date and time
This flag indicates whether the trip record was held in vehicle memory before sending to the vendor, aka "store and forward," because the vehicle did not have a connection to the server. Y= store and forward trip, N= not a store and forward trip
The final rate code in effect at the end of the trip. 1= Standard rate, 2=JFK, 3=Newark, 4=Nassau or Westchester, 5=Negotiated fare, 6=Group ride
Longitude where the meter was engaged.
Latitude where the meter was engaged.
Longitude where the meter was timed off.
Latitude where the meter was timed off.
The number of passengers in the vehicle. This is a driver-entered value.
The elapsed trip distance in miles reported by the taximeter.
The time-and-distance fare calculated by the meter.
Miscellaneous extras and surcharges. Currently, this only includes the $0.50 and $1 rush hour and overnight charges.
$0.50 MTA tax that is automatically triggered based on the metered rate in use.
Tip amount - This field is automatically populated for credit card tips. Cash tips are not included.
Total amount of all tolls paid in trip.
The description of this variable is not available on TLC website.
$0.30 improvement surcharge assessed on hailed trips at the flag drop. The improvement surcharge began being levied in 2015.
The total amount charged to passengers. Does not include cash tips.
A numeric code signifying how the passenger paid for the trip. 1= Credit card, 2= Cash, 3= No charge, 4= Dispute, 5= Unknown, 6= Voided trip
A code indicating whether the trip was a street-hail or a dispatch that is automatically assigned based on the metered rate in use but can be altered by the driver. 1= Street-hail, 2= Dispatch
NYC's Taxi and Limousine Commission (TLC) Trip Data is a collection of trip records including fields capturing pick-up and drop-off locations, times, trip distances, fares, rate types, and driver-reported passenger counts. The data was collected and provided to the NYC TLC by technology providers under the Taxicab & Livery Passenger Enhancement Programs.
Wencong (Priscilla) Li
These data are recorded at http://www.nyc.gov/html/tlc/html/about/trip_record_data.shtml
The description of the data is available on http://www.nyc.gov/html/tlc/html/about/trip_record_data.shtml
1 2 3 4 5 6 7 8 9 | ## Not run:
#' #
if (require(dplyr) & require(ggplot2)) {
green_2016_01_sample %>%
filter(Trip_distance <= 1) %>%
ggplot(aes(x = Dropoff_longtitude, y = Pickup_latitude))
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.