Description Usage Arguments Value
In addition to read.csv
functionality, this function checks whether
the data file satisfies the EPI rules:
1) The first three columns must be 'code', 'iso' and 'country' following
the Masterfile format.
2) All following columns must follow the convention 'NAME.YYYY' where NAME is
the variable name and YYYY the year.
3) NAME must be consistent and same with what is in the file name.
1 | read.csv.epi(file, root = NA, year = 2016, allow.na = TRUE)
|
file |
file that contains the data |
root |
root variable name to check that the data file has correct column names |
year |
most recent year. If there is a year in the data file that is
after |
allow.na |
if FALSE, warning will be raised if there are NAs in the file |
data frame read-in as by read.csv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.