getMap: Plot an interactive map of TS, GIS, and metric

Description Usage Arguments Value

Description

This function takes a dataframe of merged HOT metric data with corresponding GIS and plots the resulting map

Usage

1
2
getMap(map.df, metric, mode = NULL, scenario = NULL, author = NULL,
  income = NULL, interactive = TRUE)

Arguments

map.df

A merged dataframe of TS metric results and corresponding GIS data

metric

HOT metric used for analysis. Options available: participation, frequency, proportion, intensity, duration, trips, CRA

mode

Required if HOT metric is stratified by mode of transit. Options available: walk, cycle, other

scenario

Required if HOT metric is stratified by participation scenario. Options available: rho.s.1, rho.s.2

author

Required if HOT metric is stratified by participation scenario. Options available: Arem, Lear, Wen

income

Required if HOT metric is stratified by participation scenario. Options available: High, Upper-middle, Lower-middle, Low

interactive

Boolean deterining whether returned plot is interactive (ggplotly object) or not (ggplot object). Default value is TRUE

Value

Interactive map


GHI-UW/HOT documentation built on June 14, 2019, 1:21 a.m.