Functions |
|
---|---|
Measure assessment performanceCalculate assessment performance statistics in accordance with the CCAO Data Science Department’s Standard Operating Procedure on Sales Ratio Studies. The main changes are enforcement of outlier trimming (top and bottom 5% of ratios are always dropped) and a strict minimum sample size (N must be >= 30). Each function outputs a named list containing the statistic, its confidence interval, whether or not the IAAO standard was met, and the number of observations used to calculate the statistic. |
|
Calculate sales ratio statistics using CCAO SOPs |
|
Format dataClean and format Property Index Numbers (PINs) |
|
Remove separators and whitespace from input PIN(s) and warn if invalid |
|
Add dash separators to input PIN(s) |
|
Lookup valuesConvert between township names, assessment years, and triads |
|
Convert from township name to township number and visa versa |
|
Get the nearest assessment year of a township |
|
Get Cook County triad name or number based on township name or code |
|
Manage characteristicsRecode/rename characteristic columns, merge HIE data, and fix characteristic errors |
|
Return active years given a 288 start date and township |
|
Fix the age variable in CCAO data |
|
Convert ADDCHARS SQL data to a sparse format that can be joined to other data |
|
Update characteristic values using joined values from ADDCHARS |
|
Replace numerically coded variables with human-readable values |
|
Bulk rename variables from CCAO SQL to standardized or pretty names and visa versa |
|
Adjust estimated valuesApply post-modeling adjustments to raw model values |
|
Round model values to flat amounts |
|
Limit excessive sales ratios |
|
Miscellaneous functionsFunctions with no other suitable category |
|
Generate a memorable ID string based on CCAO employee names |
|
Data |
|
DictionariesLookups for numeric codes used in the assessment system |
|
Data dictionary of codes used to identify specific property situations |
|
Data dictionary of Certificate of Error reason codes |
|
Data dictionary for CCAO township codes and triads |
|
Data dictionary for CCAO data sets and variables |
|
Data dictionary for legacy CCAO data and variables |
|
Spatial dataCCAO-specific spatial boundaries. Must load |
|
Simple features (sf) data frame of CCAO neighborhoods |
|
Simple features (sf) data frame of Cook County townships |
|
Sample dataSample data frames pulled directly from CCAO SQL or Athena |
|
Sample dataset from the vw_card_res_char Athena SQL view |
|
Sample dataset from the ccao.hie Athena SQL table |
|
Sample dataset from the VW_RES_UNIVERSE SQL view |
|
MiscellaneousOther data used throughout the department or in specific functions |
|
Official CCAO color palette |
|
List crosswalk of Athena columns and their ADDCHARS equivalents |