ukhsa-internal / coronavirus-dashboard-api-r-sdk Goto Github PK
View Code? Open in Web Editor NEWCoronavirus (COVID-19) in the UK - API Service SDK for R
Home Page: https://coronavirus.data.gov.uk/
License: Other
Coronavirus (COVID-19) in the UK - API Service SDK for R
Home Page: https://coronavirus.data.gov.uk/
License: Other
This overlaps with #2. Is there still going to be a CRAN release for this package?
README indicates that the package is on CRAN but I think this is not actually the case yet? I assume this is in the pipeline but it might be a good idea to amend to the README until this is the case.
Hi Team,
This app unfotunately no longer works - I think this is because the API link has changed, should be a simple fix?
Sam
I am trying to extract MSOA data using the api. As a trial I have used data I downloaded using the download data page https://coronavirus.data.gov.uk/details/download . For the puposes of the experiment I am trying to download data for Barnet council, at msoa level, for the variable newCasesBySpecimenDateRollingRate, as a csv file. When using the tool I get the following link which successfully downloads.
However, when I try and use the API query I get the error message "Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: [api.coronavirus.data.gov.uk] Operation timed out after 10001 milliseconds with 0 bytes received" I have got this message for a wide range of different msoa options
query_filters <- c(
'areaType=msoa',
"areaCode=E09000003"
)
cases_and_deaths = list(
date = "date",
areaName = "areaName",
areaType = "areaType",
areaCode = "areaCode",
newCasesByPublishDate = "newCasesBySpecimenDateRollingRate"
)
data <- get_data(
filters = query_filters,
structure = cases_and_deaths
)
changing the area type to utla or ltla does not result in an error. Does the api work for msoa? choosing options form the recently added vaccination data also produces an error, https://coronavirus.data.gov.uk/details/whats-new even though this data is definately provided in msoa format.
Any help or clarification would be appreciated.
Despite README saying this is on CRAN, I cannot find it. Are there plans to submit it as having terrible problems trying to remote install on a rocker pipeeline image on GitLab.
I have been able to install the API and sucessfully use it on my local machine with no problem. However, when I try to install it on the rocker image I get the following message:
> remotes::install_github("publichealthengland/coronavirus-dashboard-api-R-sdk")
Using bundled GitHub PAT. Please add your own PAT to the env var `GITHUB_PAT`
Error: Failed to install 'unknown package' from GitHub:
cannot open URL 'https://api.github.com/repos/publichealthengland/coronavirus-dashboard-api-R-sdk/contents/DESCRIPTION?ref=HEAD'
Execution halted
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1
Clicking on the URL it is attempting to open gives the following error:
{
"message": "No commit found for the ref HEAD'",
"documentation_url": "https://docs.github.com/v3/repos/contents/"
}
The only thread I have found about this error is on github suggesting it may be because default branch is not called master but as far as I can tell it is called master. r-lib/remotes#508
Not too sure how to problem solve this further so any pointers or a look into why it is isn't working would be very welcome.
Hello, thank you for putting online this great API.
I am using R4.0.2 on Windows 10.
When I try to access the Northern Ireland data using area name "northern ireland" or area code "N92000002", the retrieved content is empty. It works well for the 3 other nations though.
Hi,
Thanks for building out this interface - great work.
When running the examples in the README I see the following:
Error in get_request(filters, structure, page = current_page) :
Client errorNot FoundClient error: (404) Not Found
when running any get_data
call. My colleague @kathsherratt has been able to replicate this issue and we have seen it across Mac, Linux, and Windows.
We have been looking at supporting this data in our covidregionaldata
aggregation package (https://cran.r-project.org/web/packages/covidregionaldata/index.html) but also haven't had any luck accessing the data when using the internal package code.
Any ideas?
It would be really great to have access to this data for our Rt estimation efforts (https://github.com/epiforecasts/covid-rt-estimates) and other research.
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.