getRoads: To get some road segments in Hong Kong.

Description Usage Arguments Author(s) Examples

Description

To grep all the routes mentioned in the Data Dictionary of the webpage https://data.gov.hk/en-data/dataset/hk-td-tis-traffic-speed-map and output the routes as SpatialLinesDataFrame object.

Usage

1
getRoads(urlString)

Arguments

x

An URL string of the Data Dictionary. Default is http://www.gov.hk/en/theme/psi/datasets/tsm_dataspec.pdf

Author(s)

Benjamin Or

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

bmkor/hktraffic documentation built on May 12, 2019, 10:27 p.m.