Skip to contents

Load cached file for one city and mode

Usage

m4ra_load_cached_network(
  city = NULL,
  mode = "foot",
  contracted = TRUE,
  filename = NULL
)

Arguments

city

City for which file is to be loaded.

mode

One of "foot", "bicycle", or "motorcar".

contracted

If TRUE, load the contracted version of the graph; otherwise load the full graph.

filename

Optional name of specific file to load.

Value

Previously cached, weighted streetnet for specified city and mode.