Comments (6)
Hello,
As promised I contacted my internet service provider. So the problem comes from a feature called Advanced Security that blocks certain website. So, I simply have to ask my internet service provider to turn it off and the problems gets resolved. Thank you for your help and patience.
from covid19.
Wow, this is the most weird issue I've come across so far :)
The data files are actually hosted in US, so it is strange it works from Europe and not from Canada.
Can you try to manually download some files from here, by clicking on the links? If it works, the issue is probably not due to this repo itself. Otherwise, can you please share a screenshot or something with the error you get?
Thanks!
from covid19.
Hello,
I investigated the problem further. It seems that the problem is not link to the country, but to my internet service provider. Here is a reproducible example with my internet service provider:
library(dplyr)
library(COVID19)
library(ggplot2)
canada <- covid19(country = "CA", level=2, start = "2020-02-01")
trying URL 'https://storage.covid19datahub.io/country/index.csv.gz'
Error in utils::download.file(url, destfile = tmp, mode = "wb", quiet = !verbose) :
cannot open URL 'https://storage.covid19datahub.io/country/index.csv.gz'
In addition: Warning message:
In utils::download.file(url, destfile = tmp, mode = "wb", quiet = !verbose) :
URL 'https://storage.covid19datahub.io/country/index.csv.gz': status was 'Couldn't connect to server'
Now, here is the same example with a different results when I connect with my VPN to a server in Canada:
canada <- covid19(country = "CA", level=2, start = "2020-02-01")
trying URL 'https://storage.covid19datahub.io/country/index.csv.gz'
Content type 'application/octet-stream' length 8115 bytes
downloaded 8115 bytes
trying URL 'https://storage.covid19datahub.io/country/CAN.csv.gz'
Content type 'application/octet-stream' length 157116 bytes (153 KB)
downloaded 153 KB
We have invested a lot of time and effort in creating COVID-19 Data Hub, please cite the following when using it:
Guidotti, E., Ardia, D., (2020), "COVID-19 Data Hub", Journal of Open Source Software 5(51):2376, doi:
10.21105/joss.02376.
A BibTeX entry for LaTeX users is
@Article{,
title = {COVID-19 Data Hub},
year = {2020},
doi = {10.21105/joss.02376},
author = {Emanuele Guidotti and David Ardia},
journal = {Journal of Open Source Software},
volume = {5},
number = {51},
pages = {2376},
}
To hide this message use 'verbose = FALSE'.
Additionally I get a data.frame called "canada as suppose to. Also note that I can access the link you provided when I am on my VPN, but not when I am not connected to the VPN. So something blocks the connection between your hub and my internet service provider, but I can't figure out what. Anybody else has a similar problem?
from covid19.
OK, I'll leave this issue open for a while in case someone else has a similar problem. However, I guess that this is not related to the hub itself and there is little I can do about it.
from covid19.
I will contact my internet provider to see if they have an answer and post it here.
from covid19.
Great, thanks for the update. I'm closing the issue then
from covid19.
Related Issues (20)
- Number of hospitalized patients for Australia is a floating point number HOT 3
- google tracking HOT 3
- Differentiating cases from PCR and Rapid tests HOT 2
- Confirmed Cases China HOT 5
- Thank you for your work. Data have not been updated in several days. Levels 2 and 3 HOT 1
- Delayed Data Update HOT 2
- Can we add population density? HOT 2
- France, Israel - cases not updating HOT 1
- Data not updated for Korea, Hong Kong HOT 2
- In Iran: cumulative tests field has two issues HOT 2
- In Switzerland: cumulative tests is not complete HOT 5
- Daily number of cases and of deaths in Portugal are avaiable again in HOT 7
- The script needs to be updated for the Brazil's Level 3 HOT 3
- No level 3 data for U.S. after May 13, 2022 HOT 1
- CZE google mobility indicators are NA in Prague (key_nuts = "CZ010") HOT 4
- France - Missing deaths data before Feb 05, 2021 HOT 1
- No updates for Australia from 27 Jul 2022 HOT 2
- Data updates HOT 7
- No "confirmed" data updates since 21/11/2022 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covid19.