tidy_hfp: Tidy HFP data files from raw data

View source: R/tidy_hfp.R

tidy_hfpR Documentation

Tidy HFP data files from raw data

Description

User interface for using functions clean_hfp_sf() and hfp_to_links_run()

Usage

tidy_hfp(
  data_path = "",
  tidy_path = "",
  routes_to_keep = "",
  links_shp = "links.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)

routes_to_keep

character vector of selected routes, "" by default

links_shp

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

links_routes

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

Examples

tidy_hfp()
tidy_hfp(routes_to_keep = c("1001", "1002"), links_shp = "example.shp")


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