COIVID-19 statistics web API

andrew made this Official Information request to Ministry of Health

The request was successful.

From: andrew

Dear Ministry of Health,

I would like to know if there is a publicly accessible web API (JSON, XML etc) that lists details about the current cases of COVID-19 in New Zealand.

Regards,
Andrew

Link to this

simeon left an annotation ()

Hi Andrew

I've put together a scraper for COVID-19 statistics from the MOH website, with an API here: https://github.com/simeonmiteff/nzcovid1...

Many others are also either manually or automatically maintaining machine-readable copies of the same data. To make matters worse, they tweak the format of the HTML tables and break my parser almost every day.

Meanwhile, it looks like that the case information is recorded in a database maintained by ESR (it is called EpiSurv). In addition to the dialy updates (probably based on a exported snapshot) to the MOH website, they are now also uploading copies to arcgis.com, from where you can dump some data in JSON format. More details here:

https://github.com/nzherald/nz-covid19-d...

I'd be very interested in working with ESR to expose COVID-19 stats in EpiSurv via an open API.

Good luck with the OIA request.

Regards,
Simeon.

Link to this

Ministry of Health


Attachment attachment.gif
7K Download


Kia ora

Thank you for your request for official information.

The Ministry's reference number for your request is: H202002051.

As required under the Act we will endeavour to respond to your request no
later than 6 May 2020, being 20 working days after the day your request
was received.  

If we are unable to respond to your request within this time frame, we
will notify you of an extension of that time frame.

If you have any queries related to this request, please do not hesitate to
get in touch.

Please note, due to the emergence of Covid-19 the Ministry has diverted
significant resources to responding to the pandemic. This may impact on
our ability to respond to your request. If you would like to reconsider or
refine your current request, this may enable us to respond more quickly.
You can notify us of any changes to your request by responding to this
email.

Ngā mihi

OIA Services
Government Services
Office of the Director-General
Ministry of Health
E: [email address]

show quoted sections

Link to this

Ministry of Health


Attachment attachment.gif
7K Download


Kia ora Andrew

Thank you for your request under the Official Information Act 1982 (the
Act) to the Ministry of Health (the Ministry).

There is no publicly accessible web API that lists details about the
current cases of COVID-19 in New Zealand. As such, your request for this
information is refused under 18(e) of the Act, as it does not exist.

For your reference, ESR has a publicly available COVID-19 dashboard of the
live cases in New Zealand at the following link:
[1]https://nzcoviddashboard.esr.cri.nz/

Information about the current confirmed and probable cases is updated
regularly on the Ministry website:
[2]https://www.health.govt.nz/our-work/dise....

The Ministry routinely publishes the latest on the Government’s response
on the COVID-19 section of the Ministry’s website:
[3]https://www.health.govt.nz/our-work/dise....

The Government also provides regular updates on the COVID-19 website:
[4]https://covid19.govt.nz/.

Under section 28 of the Act, you have the right to ask the Ombudsman to
review any decisions made under this request.

Thank you for taking the time to write to the Ministry.

OIA Services
Government Services
Office of the Director-General
Ministry of Health
E: [email address]

From:        "andrew" <[FOI #12575 email]>
To:        "OIA/LGOIMA requests at Ministry of Health"
<[Ministry of Health request email]>,
Date:        05/04/2020 02:28 p.m.
Subject:        Official Information request - COIVID-19 statistics web
API

--------------------------------------------------------------------------

Dear Ministry of Health,

I would like to know if there is a publicly accessible web API (JSON, XML
etc) that lists details about the current cases of COVID-19 in New
Zealand.

Regards,
Andrew

-------------------------------------------------------------------

This is an Official Information request made via the FYI website.

Please use this email address for all replies to this request:
[FOI #12575 email]

Is [Ministry of Health request email] the wrong address for Official Information requests
to Ministry of Health? If so, please contact us using this form:
[5]https://scanmail.trustwave.com/?c=15517&...

Disclaimer: This message and any reply that you make will be published on
the internet. Our privacy and copyright policies:
[6]https://scanmail.trustwave.com/?c=15517&...

If you find this service useful as an Official Information officer, please
ask your web manager to link to us from your organisation's OIA or LGOIMA
page.

show quoted sections

This e-mail message has been scanned for Viruses and Content and cleared
by the Ministry of Health's Content and Virus Filtering Gateway

--------------------------------------------------------------------------

References

Visible links
1. https://nzcoviddashboard.esr.cri.nz/
2. https://www.health.govt.nz/our-work/dise...
3. https://www.health.govt.nz/our-work/dise...
4. https://covid19.govt.nz/
5. https://scanmail.trustwave.com/?c=15517&...
6. https://scanmail.trustwave.com/?c=15517&...

Link to this

Things to do with this request

Anyone:
Ministry of Health only: