mac_manifest: Concatenate frequency tables by station This function looks...

Description Usage Arguments Value Examples

View source: R/mac_manifest.R

Description

Concatenate frequency tables by station This function looks for particular character sets in a string pulled from the filename and reads them. It is used recursively with getTable and read_whole_folder_RTW, for more information, please refer to the documentation for those functions

Usage

1
mac_manifest(viewTable = FALSE, writeFile = FALSE, routeOverviews = FALSE)

Arguments

viewTable

a boolean that will display the output of the generated table, TRUE, concatTables will print the table

writeFile

a boolean that will write the file to the data folder included in the SWA portable designed for Amazon.

routeOverviews

a boolean that will print a route overview for each station that shows the stops for each SWA route

Value

dataframe of generated stop frequency by station

Examples

1
2
3
4
5
6
7
## Not run: 
dir <- paste0(paste0("C:/Users/", Sys.getenv("USERNAME")), "/Documents/R/WD/RTW")
setwd(dir)
stationNames <- c("DLA7", "DPS1")
weekStopFreq <- mac_manifest(stationNames, TRUE)

## End(Not run)

notsynonymous/SWA documentation built on Dec. 22, 2021, 3:13 a.m.