Disease risk: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(objects.put and .get instead of objects.latest)
Line 14: Line 14:
library(ggplot2)      # A package with fancy graph formats
library(ggplot2)      # A package with fancy graph formats


objects.latest("Op_en5917", "calculations") # Get the latest ovariables from code calculations on page Op_en5917.
# objects.latest("Op_en5917", "calculations") # Get the latest ovariables from code calculations on page Op_en5917.
 
objects.get("3i7fJFPcIoH6CKiN")


diseaseRisk <- EvalOutput(diseaseRisk)
diseaseRisk <- EvalOutput(diseaseRisk)
Line 24: Line 26:
geom_bar(position="dodge") +  
geom_bar(position="dodge") +  
theme_grey(base_size = 24) +
theme_grey(base_size = 24) +
theme(axis.text.x = element_text(angle = 90, hjust = 1))
theme(axis.text.x = element_text(angle = 90, hjust = 1)) +
scale_y_log10() # limits = c(1, 1000000))


</rcode>
</rcode>


[http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=k5weJWB1RvHUj4Ms Default run]
[http://en.opasnet.org/en-opwiki/index.php/Special:R-tools?id=7JLKhUdmyQnq8CEx Default run]


==Rationale==
==Rationale==
Line 38: Line 41:
library(xtable)
library(xtable)


diseaseRisk <- Ovariable("diseaseRisk", ddata = "Op_en5917", getddata = FALSE, save = TRUE)
diseaseRisk <- Ovariable("diseaseRisk", ddata = "Op_en5917", getddata = TRUE, save = FALSE)
colnames(diseaseRisk@data)
diseaseRisk@data <- diseaseRisk@data[ , colnames(diseaseRisk@data) != "Obs"]
 
objects.put(diseaseRisk)


cat("Ovariable diseaseRisk saved. page_indent = Op_en5917, code_name = calculations\n")
cat("Ovariable diseaseRisk saved. Save the key for surther use.\n") # page_indent = Op_en5917, code_name = calculations\n")


print(xtable(EvalOutput(diseaseRisk, N = 1)@output), type = 'html')
print(xtable(EvalOutput(diseaseRisk, N = 1)@output), type = 'html')

Revision as of 18:24, 4 February 2013



Question

What are incidence or prevalence rates of different diseases in Finland?

Answer

+ Show code

Default run

Rationale

Calculations

+ Show code

Default run

Data

Data from op_fi:Seturi/tautiriski

Disease risk: Difference between revisions(nro)
ObsDiseasePopulationAgeSexResponse.metricUnitResultDescription
1Lung cancerWhole populationMorbiditycases /a2020Toinen arvio 2244
2CardiopulmonaryWhole populationMortalitycases /a23840
3All causesWhole populationMortalitycases /a48106Toinen arvio 44460
4Bladder cancerWhole populationMorbiditycases /a1675Toinen arvio 821
5Bladder cancerWhole populationMMorbiditycases /a1102
6Bladder cancerWhole populationFMorbiditycases /a573
7Myocardial infarctionWhole populationMorbiditycases /a24898
8Ischaemic heart diseaseWhole populationMortalitycases /a11887
9AsthmaWhole populationMorbiditycases /a14561
10AsthmaWhole population>21Morbiditycases /a9466
11AsthmaWhole population<14Morbiditycases /a4366
12Pulmonary infectionsWhole population<2MorbidityDALY35
13Otitis mediaWhole population<3MorbidityDALY48
14COPDWhole populationMorbiditycases /a483000
15Upper respiratory symptomsWhole populationMorbiditycases /a928846
16Ischaemic heart disease/myocardial infarctionWorkersMMorbiditycases /a465535-64v miesten 1. infarktin insidenssi 354/100000 1991-4. Aromaa ym Suomalaisten terveys s155
17Nasal cancerWorkersMorbiditycases /a35
18COPDWhole population15-64Mortalitycases /a1127
19AsthmaTyöikäinen väestö15-64MMorbiditycases /a3120
20AsthmaTyöikäinen väestö15-64FMorbiditycases /a4244
21CancerWhole populationMorbiditycases /a10880
22All skin cancers and basaliomaWhole populationMorbiditycases /a8777
23Skin cancerWhole populationMorbiditycases /a2005
24MelanomaWhole populationMorbiditycases /a906
25Carcinoma spinocellulareWhole populationMorbiditycases /a1099
26BasaliomaWhole populationMorbiditycases /a6772

See also

Keywords

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>