Template talk:COVID-19 pandemic data/Brazil medical cases
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||
|
WikiProject COVID-19
[edit]I've created WikiProject COVID-19 as a temporary or permanent WikiProject and invite editors to use this space for discussing ways to improve coverage of the ongoing 2019–20 coronavirus pandemic. Please bring your ideas to the project/talk page. Stay safe, --Another Believer (Talk) 18:19, 15 March 2020 (UTC)
Missing Data
[edit]There is a lot of missing data on this table. I looked for it in a lot of places, but could not find any. Part of the table was reconstructed by going through the history of 2020 coronavirus pandemic in Brazil, but whoever kept the data there did not update the references. Should i remove the dates with missing data, or keep them on standby until someone finds it ? --Hagnat (talk) 22:48, 9 April 2020 (UTC)
- You can't find a data. But I already found the Brazilian Ministry of Health's website in "Últimas notícias" (https://www.saude.gov.br/noticias).2804:431:D729:9339:355B:3F79:11AC:5F67 (talk) 23:24, 10 April 2020 (UTC)
- Awesome. I think i can find the missing data there. Thanks a lot :D --Hagnat (talk) 13:39, 11 April 2020 (UTC)
I have done some research on several websites, the portuguese wikipedia history, (and even the chinese one). There are some data inconsistencies there, but some of those inconsistencies came even from official sources. So far, i have managed to fill part of the missing information, but i still need to finish the gap. I will do that as soon as i rest a little. --Hagnat (talk) 19:31, 11 April 2020 (UTC) if anyone wants to at least format the refs, feel free to do so
I have managed to patch the gap of missing data, using some tools that are being used by the portuguese wikipedia. I do not fully trust that tool, since it has produced some inconsistent data (such as states getting less cases between a date and a later date). Some of the totals cases differ from the numbers we had previously. This is a kind of a patchwork of data, but, until we get official data from the Minister of Health or other centralized source, these are the numbers we are working with. --Hagnat (talk) 13:39, 12 April 2020 (UTC)
There is no data related to September 5th.
Single Source of Information, automated table generation
[edit]The new table uses a single source of information: the official data provided by Brazilian Ministry of Health. In this page they provide a CSV file with all historical data. This allowed me to create a simple PHP script that reads the CSV and parses the entirety of this MediaWiki template (see https://github.com/hagnat/covid). I will later update this script to also generate other useful statistics graphs --Hagnat (talk) 16:04, 13 April 2020 (UTC)
Show Total vs New Cases/Deaths
[edit]@Sdgedfegw: i understand you modified the table to display new cases/deaths by state, instead of the total cases/deaths for that day. I would like if you discussed this change before making it. Maybe it would be best to create another table to show this information, or make it so that we can show the information using a parameter or so --Hagnat (talk) 20:35, 9 May 2020 (UTC)
- @Sdgedfegw: I have updated the template so it can show both cumulative cases/deaths, and new cases/deaths. Please read the documentation. --Hagnat (talk) 03:17, 10 May 2020 (UTC)
June Data Blackout
[edit]Currently the Brazilian govt has decided to stop publishing the COVID-19 data it was releasing until a couple of days ago. Alternatives data sources are being created, and will be used as soon as they become stable and reliable. This means i will have to update the table generation scripts to use these new data sources, and it might take some effort to do, as the original dataset was full of oddities that needed to be sanitized to be used properly --Hagnat (talk) 21:32, 8 June 2020 (UTC)
2021 date problems
[edit]We need to include the year in the dates, since we're reaching in 2021 the same date the disease measure started in the country in 2020. I am planning to use the date in iso format yyyy-mm-dd, I believe it is good format to use. — Preceding unsigned comment added by Brunoff (talk • contribs) 22:04, 1 February 2021 (UTC)
Page growth
[edit]As of 2021-november, page was almost 2MB in size, and this was causing a lot of problems. The main reason of such page size were the #ifeq blocks in each cell with values. Ideally those #ifeq's should be row-wise or table-wise instead of cell-wise, but in order to do this a lot of escaping would be necessary in order to avoid the pipe conflict - "|" is used both as #ifeq parameter separator and table cell separator (it would be necessary to use <td></td> tags or {{!}}{{!}} instead of || to divide cells - see Help:Conditional_tables) and so the savings would be negligible. The solution is printing both tables without taking parameters into consideration. The only page that transcluded this template used both tables, so the impact outside template boundaries was zero. Maybe later I break this two-tables-template down again into two single-table-subtemplates and those would be chosen with the parameter used before, so we would have the previous behavior again.Brunoff (talk) 01:53, 9 November 2021 (UTC)
- As I have explained at Talk:Statistics of the COVID-19 pandemic in Brazil#PEIS warning, the problem with this template is the excessive amount of information in it. Take a look at some other country COVID stats templates and you can see how monstrous this is in comparison. It is unencyclopedic to display daily stats of last two and half years. Nobody is going to come to Wikipedia to lookup how many new cases were recorded in Minas Gerais on 29 June 2020 two years later. I will trim this down to weekly stats tomorrow. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 17:55, 5 November 2022 (UTC)
- I agree with you. I will continue updating once I adapt to the weekly data format. Brunoff (talk) 02:01, 8 November 2022 (UTC)
Official Site Down
[edit]No official data available today 2021-12-10. Not only the visible website but also API endpoints are timing out. Update will continue once data gets available again. Brazil's Health Ministry systems invaded.
- Template-Class Brazil articles
- NA-importance Brazil articles
- WikiProject Brazil articles
- Template-Class COVID-19 articles
- NA-importance COVID-19 articles
- WikiProject COVID-19 articles
- Template-Class Disaster management articles
- NA-importance Disaster management articles
- Template-Class medicine articles
- NA-importance medicine articles
- Template-Class pulmonology articles
- NA-importance pulmonology articles
- Pulmonology task force articles
- All WikiProject Medicine pages
- Template-Class virus articles
- NA-importance virus articles
- WikiProject Viruses articles