Allows to update the description of the fields, the table name, the title,
and the description of a git2rdata object.
All arguments are optional.
Setting an argument to NA or an empty string will remove the corresponding
field from the metadata.
Arguments
- file
the name of the git2rdata object. Git2rdata objects cannot have dots in their name. The name may include a relative path.
fileis a path relative to theroot. Note thatfilemust point to a location withinroot.- root
The root of a project. Can be a file path or a
git-repository. Defaults to the current working directory (".").- field_description
a named character vector with the new descriptions for the fields. The names of the vector must match the variable names.
- name
a character string with the new table name of the object.
- title
a character string with the new title of the object.
- description
a character string with the new description of the object.
- ...
parameters used in some methods
See also
Other storage:
data_package(),
display_metadata(),
list_data(),
prune_meta(),
read_vc(),
relabel(),
rename_variable(),
rm_data(),
verify_vc(),
write_vc()