surveillance (version 1.12.1)

ha: Hepatitis A in Berlin

Description

Number of Hepatitis A cases among adult male (age>18) in Berlin 2001-2006. An increase is seen during 2006

Usage

data("ha")
data("ha.sts")

Arguments

format

ha is a disProg object containing $290\times 12$ observations starting from week 1 in 2001 to week 30 in 2006. ha.sts is generated from ha by the converter function disProg2sts using a shape file of Berlin (see Examples).

source

Robert Koch-Institut: SurvStat: http://www3.rki.de/SurvStat; Queried on 25 August 2006. Robert Koch Institut, Epidemiologisches Bulletin 33/2006, p.290.

Examples

Run this code
data("ha")
ha
plot(aggregate(ha))

## conversion of the old "disProg" object 'ha' to the new S4 class "sts"
if (requireNamespace("maptools")) {
    shpfile <- system.file("shapes/berlin.shp",package="surveillance")
    ha.sts <- disProg2sts(ha, map=maptools::readShapePoly(shpfile,IDvar="SNAME"))
} else {
    data("ha.sts")
    # is almost identical to the above except that German umlauts
    # have been replaced in 'ha.sts@map@data$BEZIRK' for compatibility reasons
}

ha.sts
plot(ha.sts, type = observed ~ unit, labels = TRUE)

Run the code above in your browser using DataLab