.REC
format used by Epi Info versions 6
and earlier and by EpiData. Epi Info is a public domain database and
statistics package produced by the US Centers for Disease Control
and EpiData is a freely available data entry and validation system.read.epiinfo(file, read.deleted = FALSE, guess.broken.dates = FALSE,
thisyear = NULL, lower.case.names = FALSE)
TRUE
, omitted
if FALSE
or replaced with NA
if NA
.Date
class. With the guess.broken.dates
option the function
will attempt to convert two-digit years using the operating system's
default method (see Date) and will use the current
year or the thisyear
argument for dates with no year
information. If read.deleted
is TRUE
the "deleted"
attribute
of the data frame indicates the deleted records.
data<-read.epiinfo("oswego.rec",guess.broken.dates=TRUE,thisyear="1972")
Run the code above in your browser using DataLab