path to control stream (pass length-zero argument to ignore)
metafile
path to definitions file (pass length-zero argument to ignore)
fields
metadata fields to read from control stream if no metafile
read
whether to read the definitions file
write
whether to write the definitions file
Value
object of class definitions, or path to metafile if write = TRUE.
Methods (by class)
definitions: definitions method
character: character method
Details
x can be numeric or character model name, assuming project is identified by argument or option.
Just returns the object unmodified.
Creates item definitions from a model name. Scavenges definitions optionally
from the control stream and optionally from the definitions file. Optionally
writes the result to the definitions file. Always returns a data.frame with
at least the column 'item' but possibly no rows.