King-County-Restaurant-Grading/DineSafeR: Implementation of the King County (WA) ''Dine Safe'' restaurant grading algorithm

The core functions, findCutoffs and gradeAllBus, allow jurisdictions to implement grading systems (for restaurant grading or otherwise) based on percentile cutoffs within smaller subunits (e.g. ZIP codes) of the jurisdiction. Percentiles are carefully chosen so that grading proportions in this ''adjusted grading system'' match grading proportions in a so-called ''unadjusted grading system''. An unadjusted grading system uses inspection scores that are meaningful within the inspection system as grade cutoff points, and applies these same cutoff scores across all subunits.

Getting started

Package details

AuthorDaniel E. Ho <dho@law.stanford.edu>, Zoe Ashwood <zashwood@law.stanford.edu>, Becky Elias <Becky.Elias@kingcounty.gov>
MaintainerZoe Ashwood <zashwood@law.stanford.edu>
LicenseGPL (>= 2)
Version0.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("King-County-Restaurant-Grading/DineSafeR")
King-County-Restaurant-Grading/DineSafeR documentation built on May 8, 2019, 4:50 p.m.