All functions

add_mm_logo()

MountainMath logo

bbox_to_polygon()

Convert a bounding box object into a polygon object

coord_bbox()

convenience function to cut off map at bounding box

cov_bbox()

Vector tiles for City of Vancouver

cov_vector_tiles()

Vector tiles for City of Vancouver + UBC cached vector tiles for the City of Vancouver

facet_transform_geos_by_group()

Manipulates gemetries by group to make them suitable for faceting in a plot

file_to_s3()

transfer file to aws s3

file_to_s3_gzip()

transfer file to gzipped file on aws s3

geocode()

Use BC Geocoder to geocode addresses. This is slow, goes through address list one by one

geom_mapbox_roads()

Adds a roads layer for the map

geom_mapbox_vector_tiles()

Adds a vector tile layer for the map

geom_mapbox_water()

Adds a water layer for the map

geom_roads()

Adds a roads layer for the map

geom_vector_tiles()

Adds a vector tile layer for the map

geom_water()

Adds a water layer for the map

get_2016_census_fsa_data()

2016 census FSA data

get_2016_census_fsa_geos()

2016 census FSA geography

get_2016_census_hydro_layer()

2016 census hydro layer

get_mapbox_vector_tiles()

Get vector tile data

get_metro_vancouver_land_use_data()

Metro Vancouver land use data (2011 version)

get_shapefile()

download zipped shapefile and read shapefile.

get_statcan_geographic_attribute_data()

Geographic attribute data with DA representative points (2016 census version)

get_vector_tiles()

Get vector tile data, expects option variable nextzen_API_key to be set

lambert_conformal_conic_at()

get crs object for Lambert Conformal Conic projection centered at the input data

metro_van_bbox()

Vector tiles for Metro Vancouver

metro_van_vector_tiles()

Vector tiles for Metro Vancouver cached vector tiles for Metro Vancouver

pretty_cut()

Cut values with pretty labels

sf_to_s3_gzip()

transfer sf object to gzipped geojson file on aws s3

simpleCache()

Simple key-value cache function accepting closures

theme_mm()

MountainMath theme