knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(taxyvr)
The goal of taxyvr is to provide an easy way to access the Vancouver housing assessment data. This is semi-tidied data obtained from the City of Vancouver's Open Data Portal.
You can install the development version from GitHub with:
install.packages("devtools") devtools::install_github("UBC-MDS/taxyvr")
You may also access this information through our vignette. First use this command for installation:
install.packages("devtools") devtools::install_github("UBC-MDS/taxyvr", build_vignettes = TRUE)
And to read the vignette use:
library(taxyvr) browseVignettes("taxyvr")
This data was acquired courtesy of The city of Vancouver's Open Data Portal.
This Package contains (currently) 7 main dataframes all with 29 columns :
tax_2020
: This dataset is currently still being updated by the city as it's still the current year. It currently has r nrow(tax_2020)
rows for properties in 2020tax_2019
: This contains data regarding the properties in vancouver for the year 2019. The values in this dataset are static and it has r nrow(tax_2019)
rows. tax_2018
: This contains data regarding the properties in vancouver for the year 2018. The values in this dataset are also static and it has r nrow(tax_2018)
rows. tax_2017
: This contains data regarding the properties in vancouver for the year 2017. The values in this dataset are also static and it has 206480 rows. tax_2016
: This contains data regarding the properties in vancouver for the year 2016. The values in this dataset are also static and it has 203658 rows. tax_2015
: This contains data regarding the properties in vancouver for the year 2015. The values in this dataset are also static and it has 203494 rows. tax_2014
: This contains data regarding the properties in vancouver for the year 2014. The values in this dataset are also static and it has 200925 rows. The 29 variables included in the dataset are the following, (Vancouver Open Data Portal documentation page):
| Variable | Meaning | Type | Sample |
|:--------------------|:----------------------------------------------------|:-------|:-------|
| pid | Property identifier | chr |
This is a basic example which shows you how to solve a common problem:
library(dplyr) library(taxyvr) tax_2018 %>% filter(legal_type == "LAND") %>% arrange(desc(current_land_value))
or find out the summary statistics of the data:
summary(tax_2018)
taxyvr's data is released under the Open Government Licence - Vancouver license. See their terms of use.
Run this command to get info on how to cite this package.
citation("taxyvr")
On the topic of citations, we have one to cite:
This project was made using R package ggmap
:
D. Kahle and H. Wickham. ggmap: Spatial Visualization with ggplot2. The R Journal, 5(1), 144-161. URL http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.