geoMap: create interactive map of dataset for a given year

Description Usage Arguments Value

Description

create interactive map of dataset for a given year

Usage

1
2
3
geoMap(dataset, year, asSHP = FALSE,
  tile_provider = "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
  fillOpacity = 0.8, colorPal = "Blues", colorSteps = 30)

Arguments

year

selected year for map, "all" returns a shapefile with all years of data in wide form

asSHP

controls output as a leaflet map or a merged SHP

data

data.table object from getRel()

Value

Shapefile of relevant geographic units


CommerceDataService/eu.us.opendata documentation built on May 6, 2019, 12:49 p.m.