Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SPrail

2,000 Spanish train trips


Description

This data set is a random subsample of a much larger database of trips taken on the Spanish High Speed Train Service (Renfe AVE).

Usage

SPrail

Format

A data frame with 2,000 rows and 9 variables:

insert_date

Date and time when ticket was paid for.

origin

Origin City

destination

Destination City

start_date

Date and time for train departure.

end_date

Date and time for train arrival.

train_type

Train service name.

price

Price of ticket in Euros.

train_class

Class of ticket: tourist, business, etc.. Variable in Spanish.

fare

Type of ticket fare.

Details

All dates and times are European Central Time.

The larger data set from which SPrail was sampled was compiled and released under GPL-2 public license by Pedro Muñoz and David Cañones.

Source


pmdplyr

'dplyr' Extension for Common Panel Data Maneuvers

v0.3.3
MIT + file LICENSE
Authors
Nick Huntington-Klein [aut, cre] (<https://orcid.org/0000-0002-7352-3991>), Philip Khor [aut] (<https://orcid.org/0000-0002-8333-1256>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.