File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ This function allows you to add or update the optional metadata of a `git2rdata`
8181Setting an argument to ` NA ` or an empty string will remove the corresponding property from the metadata.
8282The function only updates the metadata file, not the data file.
8383To see the changes, read the object again before using ` display_metadata() ` .
84+ Note that all the metadata is available in the ` data.frame ` as attributes.
8485
8586``` {r update-metadata}
8687update_metadata(
@@ -97,6 +98,8 @@ measurements in taxonomic problems.",
9798 Species = "The species of the iris"
9899 )
99100)
100- display_metadata(read_vc("iris", root = root))
101+ my_iris <- read_vc("iris", root = root)
102+ display_metadata(my_iris)
103+ str(my_iris)
101104```
102105
You can’t perform that action at this time.
0 commit comments