View source: R/update_metadata.R
| update_metadata | R Documentation |
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)
file |
the name of the git2rdata object. Git2rdata objects cannot
have dots in their name. The name may include a relative path. |
root |
The root of a project. Can be a file path or a |
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. |
Other storage:
display_metadata(),
list_data(),
prune_meta(),
read_vc(),
relabel(),
rename_variable(),
rm_data(),
verify_vc(),
write_vc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.