COHHIO / ryha

R Shiny app for analyzing COHHIO Youth Homelessness Data
GNU Affero General Public License v3.0
8 stars 1 forks source link

Handle youth with multiple entries in selected period #106

Closed IvanM26 closed 1 month ago

IvanM26 commented 3 months ago

Overview

After diving deep into the issue, some conclusions were drawn from the data:

The changes applied in this PR improve the way data is filtered in the app. Our new goal is to end the "filter stage" with a set of personal_id, organization_id and enrollment_id that correspond to the "most recent" enrollment for a youth. See Details for a comprehensive definition of what we understand as the "most recent" enrollment for a youth. Additional changes to improve mod_filters.R were implemented, such as a refactor of input population when the app is launched.

We expect that this new approach to filtering data will simplify data processing in the different pages of the app.

List of Changes

Details

The new process for filtering data follows these steps:

trevinflick commented 2 months ago

Hey Ivan, we reviewed the changes this afternoon and agree that the logic makes sense. It should be good to merge now.