Process a data.frame object containing Oyster journey history data. Could be a raw file as received by email from Transport for London or the output from oy_read().

oy_clean(x)

Arguments

x

A data.frame object containing Oyster journey history.

Value

A data.frame objectwith 13 columns and as many rows as journeys.

Examples

if (FALSE) { my_df <- oy_read("path/to/folder/") my_df_clean <- oy_clean(my_df) }