Skip to contents

Load data

Usage

item_load(data.model, file = NULL, path = NULL, create = TRUE)

Arguments

data.model

a data.frame containing the data model

file

an optional file name (including .csv extension)

path

an optional path to the file

create

a logical (default = TRUE) to indicate if missing file should be created or not

Value

the data (items)

Details

File connector: if file is not NULL, then data are loaded from the given .csv

Examples

if (FALSE) { # \dontrun{
# -- File connector:
item_load(data.model = mydatamodel, file = "mydata.csv", path = "path/to/my/data", create = TRUE)
} # }