oy_read: Read Oyster Journey History Files

Description Usage Arguments Value Examples

View source: R/handle.R

Description

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.

Usage

1
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

1
2
3
4
## Not run: 
my_df <- oy_read("path/to/folder/")

## End(Not run)

matt-dray/oystr documentation built on Dec. 24, 2019, 8:09 p.m.