run_all_hfp: Shapefile results from raw HFP data

View source: R/run_all_hfp.R

run_all_hfpR Documentation

Shapefile results from raw HFP data

Description

User interface for using functions tidy_hfp() and link_stats()

Usage

run_all_hfp(
  data_path = "",
  tidy_path = "",
  result_path = "",
  routes_to_keep = "",
  start_time = 6,
  end_time = 19,
  tp_name = "vrk",
  links_shp = "links.shp",
  result_filename = "links_times.shp",
  links_routes = "links_routes.csv"
)

Arguments

data_path

pathname of original data files, "" by default (graphical interface)

tidy_path

pathname where to write tidy HFP files, "" by default (graphical interface)

result_path

pathname where to write result shapefile, "" by default (graphical interface)

routes_to_keep

character vector of selected routes, "" by default

start_time

starting hour, 6 by default

end_time

ending hour (for example 16 => 16:59 last accepted), 19 by default

tp_name

character suffix to result file variables, "vrk" by default

links_shp

filename of links data in data_path, "links.shp" by default

result_filename

filename of result shapefile in result_path, "links_times.shp" by default

links_routes

filename of route data in data_path, "links_routes.csv" by default

Examples

run_all_hfp()
run_all_hfp(routes_to_keep = c("1001", "1002"), start_time = 7, end_time = 9, links_shp = "example.shp")


webbidevaajat/tramhfp documentation built on June 16, 2022, 8:47 a.m.