File:Kuolleisuus koronaan Suomessa ikäryhmittain 1.svg
Original file (SVG file, nominally 857 × 539 pixels, file size: 13 KB)
Captions
Summary
[edit]DescriptionKuolleisuus koronaan Suomessa ikäryhmittain 1.svg |
Suomi: Kuolleisuus koronaan Suomessa ikäryhmittäin prosentteina
sen hetkiset koronana liittyvät kuolemat jaettumna sen hetkisillä tapauksilla (ns. CFR). Luku poikkeaa todellisesta infektiokuolleisuudesta (IFR). |
Date | |
Source | Own work |
Author | Merikanto |
Source of data is THL, Finland. Open Covid-19 dataset
R script download frim THL dataset LibreOffice draw
Data (edited)
Ikaryhma Kuolinprosentti
0 Alle 0,06
10 Alle 0,06
20 Alle 0,06
30 0,06
40 0,09
50 0,35
60 1,44
70 9,26
80 30,63
"R" code to obtain data. Must further process.
- thl finland covid cases and deaths by age groups
- r script, thl api 12/2020
- 31.1.2021 v 0000.0001
- install.packages("ggplot2", "rjstat","svglite" repos ="https://ftp.acc.umu.se/mirror/CRAN/")
library(rjstat)
library(ggplot2)
- library(svglite)
peruspolku="/Users/himot/akor1/"
ulosnimi="viikottaiset_koronatapaukset_2020.svg"
polkunimi=paste0(peruspolku, ulosnimi)
url1 <- "https://sampo.thl.fi/pivot/prod/fi/epirapo/covid19case/fact_epirapo_covid19case.json?row=ttr10yage-444309&column=dateweek20200101-509030.&filter=measure-492118"
cube1 <- fromJSONstat(url1, naming = "label", use_factors = F, silent = T)
res00 <- cube11
url2 <- "https://sampo.thl.fi/pivot/prod/fi/epirapo/covid19case/fact_epirapo_covid19case.json?row=ttr10yage-444309&column=dateweek20200101-509030.&filter=measure-444833"
cube2 <- fromJSONstat(url2, naming = "label", use_factors = F, silent = T)
res02 <- cube21
- res00
ikaryhma=res00$ttr10yage
kuolleet_ikaryhmittain=as.integer(res00$value)
tapaukset_ikaryhmittain=as.integer(res02$value)
kuolin_prosentit=kuolleet_ikaryhmittain/tapaukset_ikaryhmittain
kuolin_prosentit=kuolin_prosentit*10000
kuolin_prosentit=as.integer(kuolin_prosentit)
kuolin_prosentit=as.double(kuolin_prosentit)
kuolin_prosentit=kuolin_prosentit/100.0
- print (ikaryhma)
- print (kuolleet_ikaryhmittain)
- print (tapaukset_ikaryhmittain)
- print (kuolin_prosentit )
ikaryhmien_alarajat<-c(0,10,20,30,40,50,60,70,80)
kuolin_prosentit2 <- kuolin_prosentit[-length(kuolin_prosentit)]
print (kuolin_prosentit2)
df2<-data.frame(ikaryhmien_alarajat, kuolin_prosentit2)
names(df2)<-c("Ikaryhman_alaraja", "Kuolinprosentti")
write.csv2(df2, "./kuolleet_ikaryhmittain.csv", OutDec="," )
- df1<-data.frame(ikaryhma,tapaukset_ikaryhmittain, kuolleet_ikaryhmittain, kuolin_prosentit)
- write.csv2(df1, "./kuolleet_ikaryhmittain.csv", sep = ";", OutDec="," )
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 09:27, 31 January 2021 | 857 × 539 (13 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 242mm |
---|---|
Height | 152mm |