Comments (12)
Looks like with the last update of @ExpDev07 this package start return wrong data :(
from covid19py.
@bkawakami @carmelotony Per JHU's recent announcement (the main data provider), they will:
- Not provide data on recoveries.
- Drop province-level data and focus on countries as a whole.
If you specify csbs
as source you can retrieve US-specific data (including states and counties).
Relevant: ExpDev07/coronavirus-tracker-api#161.
from covid19py.
@bkawakami @carmelotony Per JHU's recent announcement (the main data provider), they will:
- Not provide data on recoveries.
- Drop province-level data and focus on countries as a whole.
If you specify
csbs
as source you can retrieve US-specific data (including states and counties).Relevant: ExpDev07/coronavirus-tracker-api#161.
Do I need to up date the package getting?
Getting this error when passing csbs
init() got an unexpected keyword argument 'data_source'
from covid19py.
Passed "csbs" instead of data_source = "csbs" and it made the connections...
However, after trying to retrieve data got the following error...
Invalid URL 'csbs/v2/locations': No schema supplied. Perhaps you meant http://csbs/v2/locations?
from covid19py.
The source needs to be passed as a query param. /v2/locations?source=csbs @carmelotony
from covid19py.
@carmelotony the first argument it gets is the URL, that's why it tries to retrieve data from csbs/v2/locations
.
Try using COVID19(data_source="csbs")
instead. 🙂
from covid19py.
@carmelotony the first argument it gets is the URL, that's why it tries to retrieve data from
csbs/v2/locations
.Try using
COVID19(data_source="csbs")
instead. 🙂
getting this error...
TypeError Traceback (most recent call last)
in
1 #creat covid19 instance
----> 2 covid19 = COVID19Py.COVID19(data_source="csbs")
TypeError: init() got an unexpected keyword argument 'data_source'
from covid19py.
Probably need to update your deps.
from covid19py.
@carmelotony the first argument it gets is the URL, that's why it tries to retrieve data from
csbs/v2/locations
.
Try usingCOVID19(data_source="csbs")
instead. 🙂getting this error...
TypeError Traceback (most recent call last)
in
1 #creat covid19 instance
----> 2 covid19 = COVID19Py.COVID19(data_source="csbs")TypeError: init() got an unexpected keyword argument 'data_source'
Weird, I had it happen once while testing this out but now I can't reproduce it, it worked fine when I tried it again 🤔
from covid19py.
@carmelotony the first argument it gets is the URL, that's why it tries to retrieve data from
csbs/v2/locations
.
Try usingCOVID19(data_source="csbs")
instead. 🙂@Kamaropoulos
getting this error...
TypeError Traceback (most recent call last)
in
1 #creat covid19 instance
----> 2 covid19 = COVID19Py.COVID19(data_source="csbs")
TypeError: init() got an unexpected keyword argument 'data_source'Weird, I had it happen once while testing this out but now I can't reproduce it, it worked fine when I tried it again 🤔
Just upgraded to version 0.3.0, but still the same error...
from covid19py.
@carmelotony what's your platform and Python version?
from covid19py.
@carmelotony what's your platform and Python version?
window 10 conda 3.8
from covid19py.
Related Issues (9)
- recovered data is 0 for all the countries HOT 1
- HTTPError: 503 Server Error: Service Unavailable for url: https://coronavirus-tracker-api.herokuapp.com/v2/locations?country_code=BD&source=jhu HOT 22
- package not found HOT 1
- Count Recovered people HOT 1
- No requirements when there are actually requirements HOT 1
- Contributors HOT 4
- Add support for other data sources HOT 8
- Get Daily Cases HOT 1
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 covid19py.