Read one or more Oyster journey history files from a single folder and combine them. Assumes journey histories are raw CSV files as received by email from Transport for London. Ignores files that are not identified as Oyster history journey files.

oy_read(path)

Arguments

path

A string describing a filepath to a folder of Oyster journey history CSV files.

Value

A data.frame object with 8 columns and as many rows as journeys.

Examples

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