R/epiinfo.reader.R

Defines functions epiinfo.reader

Documented in epiinfo.reader

#' @describeIn preinstalled.readers Read an Epi Info file with a .rec file extension.
epiinfo.reader <- function(data.file, filename, variable.name)
{
  .require.package('foreign')

  assign(variable.name,
         foreign::read.epiinfo(filename),
         envir = .TargetEnv)
}

Try the ProjectTemplate package in your browser

Any scripts or data that you put into this service are public.

ProjectTemplate documentation built on July 31, 2021, 5:07 p.m.