| flu {PBImisc} | R Documentation |
Numbers of flu occurences in the 10 years period in the Poland.
Description
Data from National Institute of Hygiene reports. Each row correspond to one record from NIH institute.
Usage
data(flu)
Format
data.frame with 6384 obs. and 11 variables
regionRegion for which given report was taken. A factor with 16 levels
inception.noNumber of flu occurences in given region for given report period (one or two weeks)
inception.noNumber of flu occurences in given region for given report period (one or two weeks)
inception.rateNumber of flu occurences normalized to 100k people
inception.no.0-14,inception.no.15+,inception.rate.0-14,inception.rate.15+Absolute and normalized numbers of flu occurences calculated for age group 0-14 or 15+
dateDate of given report
date.idReport id, there is 38 reports per year
latitude,longitudeGeographical coordinates for region
Details
Dataset used during the third edition of WZUR conference, see http://www.biecek.pl/WZUR3/wzurDane.html for more information.
Source
Reports from National Institute of Public Health - National Institute of Hygiene, see: http://www.pzh.gov.pl
More information: http://www.biecek.pl/WZUR3/wzurDane.html
Examples
data(flu)
library(ggplot2)
subflu = flu[flu$region=="Mazowieckie", ]
# linear scale
qplot(date, inception.rate,data=subflu, geom="line")+scale_y_sqrt() +theme_bw()
# polar coordinates
qplot(1 + date.id*12/38, inception.rate,data=subflu, geom="path", xlab="month")+
scale_y_sqrt()+geom_smooth(span=0.1,se=FALSE, size=2,col="red") +
coord_polar() +theme_bw()