项目作者: erhla

项目描述 :
A R Package for Property Tax analysis
高级语言: R
项目地址: git://github.com/erhla/cmfproperty.git
创建时间: 2020-01-06T00:52:01Z
项目社区:https://github.com/erhla/cmfproperty

开源协议:Other

下载


Transparency & Equity in Property Assessments

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
.

Installation

You can install the development version from
GitHub with:

  1. # install.packages("devtools")
  2. devtools::install_github("cmf-uchicago/cmfproperty")

Basic Usage

First import cmfproperty.

  1. 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.

  1. head(cmfproperty::example_data)
  2. #> PIN SALE_YEAR SALE_PRICE ASSESSED_VALUE
  3. #> 1 17273100931118 2015 53000 33860
  4. #> 2 18013090421010 2018 80000 60390
  5. #> 3 12111190201042 2018 118000 108300
  6. #> 4 13093160601015 2017 125500 87200
  7. #> 5 14322110150000 2018 3705000 3670740
  8. #> 6 27021200080000 2016 345000 267280

Then, preprocess your data with reformat_data and call make_report.
The report from the example below can be found
here.

  1. df <- cmfproperty::example_data
  2. ratios <-
  3. cmfproperty::reformat_data(
  4. df,
  5. sale_col = "SALE_PRICE",
  6. assessment_col = "ASSESSED_VALUE",
  7. sale_year_col = "SALE_YEAR",
  8. )
  9. cmfproperty::make_report(ratios,
  10. jurisdiction_name = "Cook County, Illinois",
  11. output_dir = "~/../Documents/GitHub/cmf-uchicago.github.io/")
  12. #output_dir is the directory in which report is saved; default is working directory