Skip to contents

Produces an interactive map that displays all facilities.

Usage

EJMaps(
  input_data,
  indic_option = NULL,
  geography = NULL,
  threshold = 80,
  facil_name = NULL
)

Arguments

input_data

Required. Screening object returned from an EJFunction() call.

indic_option

EJSCREEN indicators to display? Options are 'total','environmental','demographic'. Default is 'total'.

geography

National or state percentiles used in map? Options are 'state' or 'US' (default).

threshold

Percentile threshold for map coloring. Default is 80.

facil_name

Column name in LOI input data denoting LOI name. String only.

Value

A list containing leaflet map object(s).

Examples

maps <- EJMaps(input_data = z, geography = 'US', save.option = F)
#> Error in EJMaps(input_data = z, geography = "US", save.option = F): unused argument (save.option = F)