Wrapper for hack into CMHC data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
images
man
vignettes
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
cmhc.Rproj

README.md

cmhc

Wrapper for hack into CMHC data

To discover table parameters, open CMHC data portal and set breakpoint on line 74 of asset TableMapChart.js. Then "export" table, type and inspect variable "model" in the console to read off the parameters.

##Usage

devtools::install_github("mountainmath/cmhc")
library(cmhc)
get_cmhc(...)

Example

Check out the vignette plotting vacancy rate against fixed sample rent increases to see how this can be used.

Vacancy rate

Or we can fold in census geographies (and census data) to map the current units under construction.

Under Construction

And since there is a lot of interest in development around the Annex neighbourhood, we can zoom in real quick and overlay the neighbourhood boundary.

Annex