Code Monkey home page Code Monkey logo

Comments (6)

jfsavardenap avatar jfsavardenap commented on June 11, 2024 1

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.

eguidotti avatar eguidotti commented on June 11, 2024

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.

jfsavardenap avatar jfsavardenap commented on June 11, 2024

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.

eguidotti avatar eguidotti commented on June 11, 2024

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.

jfsavardenap avatar jfsavardenap commented on June 11, 2024

I will contact my internet provider to see if they have an answer and post it here.

from covid19.

eguidotti avatar eguidotti commented on June 11, 2024

Great, thanks for the update. I'm closing the issue then

from covid19.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.