View source: R/conv2indicatordata.R
conv2indicatordata | R Documentation |
This function is for converting deprecated .csv files into an object of class 'indicatordata'.
conv2indicatordata(
filename,
labrows = 1,
datecols = 1,
indcols = 2,
ulimcols = NA,
llimcols = NA,
default = F
)
filename |
a .csv file with indicator names in the initial rows of the file, and dates and indicator values in columns below. For default settings, see details below. |
labrows |
a vector indicating the rows at the top of the file containing label information. Typically there are three rows with the indicator name, measurement unit, and sublabel. |
datecols |
an integer which represents the column with the vector of dates. |
indcols |
an integer of vector indicating which columns of the file contain the indicator values. |
ulimcols |
an integer of vector indicating which columns of the file contain the upper limits of the confidence intervals, if display is desired. |
llimcols |
an integer of vector indicating which columns of the file contain the lower limits of the confidence intervals, if display is desired. |
default |
a logical value indicating whether the .csv file is in default format, in which case the other options do not need to The "default" version of the .csv file should be formatted as follows:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.