checkInputFileEncoding: Check character encoding of input file

Description Usage Arguments Value

View source: R/Private.R

Description

For its input files, CohortDiagnostics only accepts UTF-8 or ASCII character encoding. This function can be used to check whether a file meets these criteria.

Usage

1

Arguments

fileName

The path to the file to check

Value

Throws an error if the input file does not have the correct encoding.


oxford-pharmacoepi/diagCovVaxExposures documentation built on Dec. 22, 2021, 5:21 a.m.