This is a Python3 script to calculate the local COVID-19 case number for NSW Australia by postcode.
Usage:
python3 covid.py <POST_CODE>
For example: python3 covid.py 2000
If no post code given, all the cases in NSW will be shown.
Source is from NSW Health website:
This datasource will not be used anymore for the script.
Since 2022-01-25, a new aggregated data source provided by NSW Health as below:
Since 2022-01-20, the everyday records have been divided into two groups: "Confirmed by RAT" and "Confirmed by PCR".
Result will be saved to a local CSV file:
- If no postcode provided, file name would be "covidcount_NSW.csv"
- If postcode provided, file name would be "covidcount_<POST_CODE>.csv"