Displaying 1 result from an estimated 1 matches for "schoolsurveil".
2010 Mar 10
1
trouble calculating rates--sometimes the denominator is missing
...he
same value is usually repeated on each line for each school. Thus
calculating proportion of students absent or sent home ill is easy (see
lines between the #####); here is the beginning of my code (my apologies
for the word-wrapping, I use some long variable names):
setwd("C:/data/bchd/schoolsurveillance")
library(ggplot2)
library(doBy)
library(reshape)
data <- read.csv("C:/DATA/BCHD/schoolsurveillance/Broome_02MAR10.csv",
header=TRUE, sep=",", fill=TRUE)
data$date <- as.character(data$ReportingDate)
data$date <- as.Date(data$ReportingDate, format="%d%b%...