knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", warning = FALSE )
This package analyzes the accuracy of property assessments and produces graphs, tables, and reports designed for general use. This package is produced by the Center for Municipal Finance, a research institute at the Harris School of Public Policy, University of Chicago.
For a detailed guide on how to use this package check out our Get started page.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("cmf-uchicago/cmfproperty")
First import cmfproperty
.
library(cmfproperty)
To conduct our study, we need data where every roll is a unique property's sale price and assessed value for a given year.
head(cmfproperty::example_data)
Then, preprocess your data with reformat_data
and call make_report
. The report from the example below can be found here.
df <- cmfproperty::example_data ratios <- cmfproperty::reformat_data( df, sale_col = "SALE_PRICE", assessment_col = "ASSESSED_VALUE", sale_year_col = "SALE_YEAR", ) cmfproperty::make_report(ratios, jurisdiction_name = "Cook County, Illinois", output_dir = "~/../Documents/GitHub/cmf-uchicago.github.io/") #output_dir is the directory in which report is saved; default is working directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.