Fetch website content and update dataset files.
- The input month will be in the format
YYYY-MM. - Map the month to the corresponding URL using
README.md. - Fetch the webpage (static HTML only, no JS execution).
- Extract data from the main table on the page.
- Update as needed:
data/monthly-cases.csvdata/monthly-deaths.csvdata/yearly-cases.csvdata/yearly-deaths.csv
- If the month already exists → update the row
- If not → append a new row
- Keep rows sorted by date (ascending)
- Do NOT:
- change column order
- introduce new columns
- write non-numeric values into numeric fields
- If the website contains columns not present in CSV → STOP and report
- If required columns are missing in CSV → STOP and report
- If fetching/parsing fails → STOP and report
- Do NOT write or run custom scripts (Python, Bash, etc.)
- You MAY use the
runTeststool
- Run tests using
runTestswithcheck.py(python3 -m unittest -v check)
Report:
- Files updated
- Rows added/modified
- Test results