data-liberation-project / aphis-inspection-reports

Inspection data and PDFs from the USDA's Animal and Plant Health Inspection Service.
13 stars 3 forks source link

In RSS feeds, consider Direct to count as Critical #63

Closed jsvine closed 1 year ago

jsvine commented 1 year ago

Currently, the "Critical" RSS feeds include only reports where web_critical > 0. This commit adds reports where web_direct > 0, since Direct non-compliances are a type of Critical non-compliance, but are counted by a separate variable. (There are many reports, e.g., where web_direct > 0 but web_critical == 0.)

This commit also tweaks the body of the RSS entries, adding a "Direct" count and rephrasing "Critical" to "Other Critical".

palewire commented 1 year ago

Looks good to me. Good catch.

jsvine commented 1 year ago

Great, thanks, and merging!