cal-itp / reports

GTFS data quality reports for California transit providers
https://reports.calitp.org
GNU Affero General Public License v3.0
7 stars 0 forks source link

Add "reports site status" as additional guideline check column #258

Closed owades closed 1 year ago

owades commented 1 year ago

Background

For the reports site, we are simplifying guideline check reporting slightly, so that the only possible guideline check statuses are:

In order to maintain clarity and consistency, we'd like to update existing guideline check reporting so that this simplification logic occurs in the source table. Specifically, let's add a column called reports_site_status to fct_daily_organization_combined_guideline_checks (or probably the long table upstream of that), with logic roughly as follows:

CASE status
    WHEN "PASS" THEN "PASS"
    WHEN "FAIL" THEN "FAIL"
ELSE "NOT APPLICABLE/DATA UNAVAILABLE"
END AS reports_site_status

Along with this update, lets update fct_monthly_reports_site_organization_guideline_checks to refer to this new status column.

Acceptance criteria

owades commented 1 year ago

Issue moved to cal-itp/data-infra #2656 via Zenhub