Skip to content

Improve OWID extraction#67

Open
rapsoj wants to merge 2 commits into
mainfrom
csv-extraction-improvements
Open

Improve OWID extraction#67
rapsoj wants to merge 2 commits into
mainfrom
csv-extraction-improvements

Conversation

@rapsoj

@rapsoj rapsoj commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Depends on previous PR. Improvements to OWID extraction.
This pull request significantly enhances the trend analysis capabilities in the OWID custom scraper. The changes introduce detailed statistical summaries and model fitting (linear and exponential) to the trend output, improving the quality and interpretability of time series insights for epidemiological data, based on Karla's findings.

Trend analysis and summary improvements (_owid_common.py):

  • Added statistical summary and model fitting utilities: functions for R² calculation, linear and exponential fit, and formatted statistics summaries to support richer trend analysis. [1] [2]
  • Enhanced the _trend_table_html function to include:
    • 7- and 30-row deltas, increment statistics, and model-fit results for both cumulative and incident (new cases) data.
    • Clearer, more detailed HTML output for target entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant