ukhsa-internal / coronavirus-dashboard-api-v2-server Goto Github PK
View Code? Open in Web Editor NEWCoronavirus Dashboard API v.2.1
License: MIT License
Coronavirus Dashboard API v.2.1
License: MIT License
MSOA E02000001 (City of London) is appearing in the cases map, but not in the downloads.
Highlighted via email:
Hello,
Iโm wondering if you can help me?
We currently access the below site for some files:
https://coronavirus.data.gov.uk/details/download
When trying to extract the files using the below request link, we get an error, but for accessing all of the other files we need it seems to work fine.
Please could you let us know if anything has changed, or if this is an issue that will be resolved?
I'm trying to use the API through the link https://api.coronavirus.data.gov.uk/v2/data?areaType=ltla&metric=newCasesBySpecimenDateAgeDemographics&format=csv but get the error "Precondition failed: Missing or malformed URL parameter."
I've noticed on the website that the documentation for "Bulk downloads API (APIv2)" is down too, see screenshot below.
Hi there. I work in the Contain Data Platform Team over in NHS Digital, and we consume PHE's data for a few of our public-facing dashboards.
We've got some special cases in our pipeline code which use the COVID-19 Python SDK to get the update timestamps from the V1 API, but we've been a bit concerned about using the timestamp from one version of the API to decide whether to fetch a file from another version. It would be great if we were able to do a HEAD request on the API to see if the files have been updated, but the Last-Modified header is missing from the response.
Is this something that you'd be able to add? Alternatively, if the team are busy working on other improvements, would a pull request to add this functionality be welcome?
Go to the Download page and download new cases by specimen date for LTLA Bolton, generating the URL:
This returns an empty file.
For areas that are both UTLA and LTLA, the data download is empty for either LTLA or UTLA data
e.g. Stoke on Trent has no data in the UTLA download, but does have data for LTLA
Discussed with Pouria who is amending the script to fix this issue
Hi,
Calling the api for some metrics is not returning a complete data set, this is the case for both json and csv. It is cut off mid way through, not missing days.
An example of one of the endpoints:
piping this into jq will give a validation error.
There is a problem getting data from the archive that seems to be specific to 2021-02-24 and 2021-02-25.
This query returns a blank file:
https://api.coronavirus.data.gov.uk/v2/data?areaType=overview&metric=newDeaths28DaysByDeathDate&format=csv&release=2021-02-24
This query returns a 500 error:
https://api.coronavirus.data.gov.uk/v2/data?areaType=overview&metric=newDeaths28DaysByDeathDate&format=csv&release=2021-02-25
Go to the Download page and download new cases by specimen date for LTLA Bolton, generating URL:
This returns an empty file.
Hi!
I was trying to get cumulative data for admissions by age, in England, with cumulative cases by specimen date.
This produces a 500 error.
If I'm attempting to do something which is invalid, please add functionality to indicate so on the page. Otherwise, please fix (:
If I'm doing something that should be valid but somehow isn't, please implement some sort of error handling for that sort of eventuality.
Finally, if you just happen to encounter an error, please have some sort of error page, perhaps linking here to make an issue with what was done.
Thanks,
Ted
API v2 returns no data from calls that are at MSOA level and include any of the cases metrics.
For example: https://api.coronavirus.data.gov.uk/v2/data?areaType=msoa&metric=newCasesBySpecimenDateRollingSum&metric=newCasesBySpecimenDateRollingRate&metric=newCasesBySpecimenDateChange&metric=newCasesBySpecimenDateChangePercentage&metric=newCasesBySpecimenDateDirection&format=csv
Space encoded as +
character - e.g. areaName=Northern+Ireland
are not accepted as valid parameters.
https://api.coronavirus.data.gov.uk/v2/data?areaType=nation&metric=newCasesBySpecimenDateAgeDemographics&format=json
areaCode should be E92000001 and areaType should be nation but they are being returned the opposite way round.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.