ccao-data / model-res-avm

Automated valuation model for all class 200 residential properties in Cook County (except vacant land and condos)
GNU Affero General Public License v3.0
20 stars 3 forks source link

Create aggregate maps using comps output #192

Closed dfsnow closed 5 months ago

dfsnow commented 5 months ago

Now that #41 is merged, I'd like to add two maps to performance.qmd:

  1. A map identical to #181, but including all the PINs passed via the REPORT_ADDITIONAL_PINS env variable on a single map. Each comp set should be a different color on the map.
  2. A map similar to #186, but with neighborhoods filled by the mean comparable score for all PINs in that neighborhood.

Both these maps should be added to a new _comp.qmd module, which should be added to the main document the same way as the _shap.qmd module.

Damonamajor commented 5 months ago

What is this variable, and how do I call it in R? REPORT_ADDITIONAL_PINS

dfsnow commented 5 months ago

Ah, look in R/setup.R, it gets constructed there. It's used to create a combined vector of PINs (called report_pins) from the PINs specified in params.yaml and any PINs passed via GitHub Actions when running the workflow.