writeAllJSFiles: Write All Web Output Files

Description Usage Arguments Details Value Author(s)

View source: R/web.R

Description

write all files for web (not just JS!)

Usage

1
2
writeAllJSFiles(emerg, daysAhead = 45, daysBefore = 7,
  site = "./Web/Cactus/Site/", electives)

Arguments

emerg

data frame of admission (Date) and Section (Medical/Surgical)

daysAhead

number of days to predict ahead

daysBefore

number of data points to include before

site

path to site root

Details

this function writes the JS and other stuff for the web site

Process:

load("./Data/25-7-2013/emerg.RData") emerg=subset(emerg,AEOBS=="") edata = data.frame(admission=emerg$Adm.Date, Section=emerg$med.surg..based.on.specialty.) writeAllJSFiles(edata)

Value

nothing much

Author(s)

Barry S Rowlingson


spacedman/hospitr documentation built on May 30, 2019, 6:34 a.m.