driveBC_map_major: Leaflet Map

Description Usage Arguments Value Examples

View source: R/driveBC_map_major.R

Description

Builds an interactive map displaying the locations of active and historical major incidents

Usage

1
driveBC_map_major(days, region = NA, status = "ALL")

Arguments

days

Number of days to include in search, in addition to today

region

Default is NA which returns displays all of BC. If you want a specific region, enter a number that corresponds to one of the following regions.

  1. Lower Mainland

  2. Vancouver Island

  3. Rocky Mountain

  4. West Kootenay

  5. Okanagan-Shuswap

  6. Thompson-Nicola

  7. Cariboo

  8. Peace

  9. Fort George

  10. Bulkley Stikine

  11. Skeena

status

Incident status. Default is ALL which returns both ACTIVE and ARCHIVED. If only want ACTIVE or ARCHIVED, specify in function call

Value

An interactive map that can be opened in viewer and analyzed further

Examples

1
driveBC::driveBC_map_major(days=5,region=1)

cdonoff/driveBC documentation built on Dec. 31, 2020, 9:56 p.m.