Usage
csvdata(resource, dat, location, name = resource, dset.meta = NULL, cols.meta = NULL, update.fct = function(csv) return(data.frame()), verbose = TRUE, clss = "CsvData")
Arguments
resource
the name of the resource. Required.
dat
data.frame to convert to CsvData object. Required.
location
either a Location object, or a character pointing to a local directory. See details.
name
the physical name of the resource. Defaults to resource.
dset.meta
A list of metadata on the dataset.
cols.meta
A data.frame of metadata on the columns, rows are column names, columns are type, name, format
update.fct
function for updating the data. the update method and update interval is specified as meta data.
Default is a function that returns an empty data.frame.
verbose
print diagnostic messages (default=TRUE)
clss
class to construct. Defaults to CsvData.