-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vaccination data for municipalities #73
Comments
Hi! I have been following a similar approach with Python to read the CSV files and process the vaccination data since July 2021, but only today I am publicly releasing the data (but it was used by collaborators and other research groups). |
Hi @wcota, that's great! I would be very thankful if you can take over the maintainance of this. library(data.table)
read.gz <- function(url){
file <- paste0(tempfile(), ".gz")
download.file(url, file)
fread(file)
}
u1 <- "https://github.com/wcota/covid19br/blob/master/vaccination/processed_AC.csv.gz?raw=true"
x1 <- read.gz(u1)
u2 <- "https://github.com/covid19datahub/covid19br/blob/main/data.csv.gz?raw=true"
x2 <- read.gz(u2)
ID.IBGE <- 1200336
a <- setkey(x1[x1$ibgeID==ID.IBGE], date)
a <- a[dose==1, .(PeopleVaccinated = sum(count)), by = date]
a$PeopleVaccinated <- cumsum(a$PeopleVaccinated)
plot(a$date, a$PeopleVaccinated, type = "l")
b <- x2[x2$IBGE==ID.IBGE]
lines(b$Date, b$PeopleVaccinated, col = 2) |
Hi! I forgot to mention, but the municipality data are now available at https://github.com/wcota/covid19br-vac |
Hi! Great work! I'm integrating your data and redirecting users from my repo to yours. One question: I see that the column
Many thanks! |
Yes, that's correct @eguidotti. |
Data integrated! They should be available in the next 24h at https://covid19datahub.io |
Hi @wcota, thanks for this great repo!
I was wondering if there is a reason why the data for vaccines are not reported in the city files (?).
FYI, I have recently completed a repo with vaccination data for Brazilian municipios:
https://github.com/eguidotti/covid19br
The text was updated successfully, but these errors were encountered: