Note that this function does not create the file at path. The export
of the Data Resource is automatically set to CSV.
Arguments
x
data.frame for which to generate the Data Resources.
name
name of the Data Resource
path
name of the file in which to store the dataset. This should be a
path relative to the location of the directory in which the Data Package in
which the Data Resource will be stored.
format
the data format in which the data is stored.
mediatype
mediatype of the data
use_existing
use existing field descriptors if present.
categories_type
how should categories be stored. See
dp_generate_fielddescriptor.
categorieslist
does the data resource function as a categories list
for fields in another data resource