get_file_path: Utility function that generates file paths

Description Usage Arguments Examples

View source: R/utils.R

Description

Take in arguments common to all three functions (e.g. years, months, types) as well as the stem of the URL and return the matched file paths.

Usage

1
get_file_path(years, months, types, path)

Arguments

years

a numeric vector giving the years. The default is the most recent year.

months

a numeric vector giving the months. The default is January to December.

types

a character vector giving the type of taxi trip data of yellow

path

path to desired file

Examples

1
get_file_path(2017, 1:6, "yellow", "~/")

nyctaxi documentation built on Nov. 17, 2017, 3:59 a.m.