git2rdata objectAllows 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.
update_metadata(
file,
root = ".",
field_description,
name,
title,
description,
...
)the name of the git2rdata object. Git2rdata objects cannot
have dots in their name. The name may include a relative path. file is a
path relative to the root.
Note that file must point to a location within root.
The root of a project. Can be a file path or a git-repository.
Defaults to the current working directory (".").
a named character vector with the new descriptions for the fields. The names of the vector must match the variable names.
a character string with the new table name of the object.
a character string with the new title of the object.
a character string with the new description of the object.
parameters used in some methods
Other storage:
data_package(),
display_metadata(),
list_data(),
prune_meta(),
read_vc(),
relabel(),
rename_variable(),
rm_data(),
verify_vc(),
write_vc()