Comments (7)
problem is they don't provide a direct download link, at least not on the linked page. if you click the download csv file there you get a generated temporal dl link. :/
from covidtrends.
I noticed that too... I've actually been trying to scrape their website for that CSV link for the past week, and I think I finally managed. Or until they change something again...
Scraping and final data is here:
https://github.com/felipequintella/covid19-brazil-scraper
https://raw.githubusercontent.com/felipequintella/covid19-brazil-scraper/master/brazil.csv
I've also forked covidtrends and included the breakdown there as well. If you think it is worth it, let me know and I can try a pull request.
https://github.com/felipequintella/covidtrends
Final product here:
https://covid19.felipequintella.com/
Edit: of course, scraping their data also means the final data may be considered not as official, accurate and reliable as one might want for the project. Let me know what you guys think ;)
"We don’t want to become a repository of many datasets, as it’s difficult for us to vouch for their accuracy and reliability."
from covidtrends.
hm basically at the end it is @aatishb choice how to handle things. on one hand its cool that you provide the opportunity with scraping the existing data from the government page. but imho i would be careful never the less about any further step for data aggregation for any country. but i've searched on google for "covid saude.gov.br csv" which lead me in here: https://brasil.io/dataset/covid19/boletim/ You found that too already?
i dont speak, i guess it is portuguese in brazil, so unsure if i understand everything correctly. i've only utilized translate.google.com a little. but Leia a documentação dessa tabela
lead to the following repo here: https://github.com/turicas/covid19-br/blob/master/api.md#boletim . suppose from there a query string might be crafted for their api? i guess the complete download there https://data.brasil.io/dataset/covid19/caso.csv.gz would be a little bit too extensive ;))) goes down even to the city level data wise it looks. the csv is 2,2mb in size. ;))) might be easier for a native speaker to find his or her way around there.
from covidtrends.
But tried the examples on the Github repo in Paw and I got a 301 for querying https://brasil.io/api/dataset/covid19/caso/data?is_last=True&state=AL
:/
from covidtrends.
guess the caso.csv.gz is the smallest but most complete at the same time available. it is also listed here alongside other versions, all provided sha512 checksums: https://data.brasil.io/dataset/covid19/_meta/list.html
@felipequintella the only thing i have issues understanding just with google translate. is that dataset aggregated by brazilian offcials/government employees? meaning is that a official data source or is that aggregation based on voluntary work?
from covidtrends.
Hey @rpkoller , I'll take a look at these and see how they are collecting/compiling and verifying the data. I had not found it before, looks good though! I'll revert later.
from covidtrends.
@rpkoller as per this link, they say all the data comes from each state health department, so yes, I would say it's aggregated by the authorities and brasil.io just compiles them in one big csv. This is their report on that.
Filtering the caso_full.csv by place_type == state would yield the result Felipe is talking about.
from covidtrends.
Related Issues (20)
- selectAll should select all visible regions
- Rhode Island now not reporting data on Sat. & Sun.
- Suggestion: Add Hospitalizations as a Parameter
- Feature Request: Identify countries based on their growth rates.
- Data for Scotland
- Feature Request: per capita rates HOT 10
- Add breakdown per region for Russia
- Horizontal Gridlines are not Consistent across decades
- Reset the Count or provide it as an option. HOT 1
- Extend current work to capture R-effective which help model trends, causal anal HOT 1
- Mobile website
- Option for infection rate per 100K population? HOT 3
- Top 10/20 countries
- Data for Massachusetts displaying weird HOT 7
- Switch for absolte and per 1M oder 100.000 people HOT 2
- add average marker
- data coherence problem HOT 1
- Is this project still maintained? HOT 1
- Relative scale by population HOT 2
- Add vaccination stats
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 covidtrends.