| repo_attr | R Documentation |
Get item attribute.
repo_attr(name, attrib)
name |
An item name. |
attrib |
An attribute name (currently can be only "path"). |
The item's attribute value.
repo_entries, repo_get
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
rp$put(1, "item1", "Sample item 1", "tag1")
print(rp$attr("item1", "path"))
## wiping temporary repo
unlink(rp_path, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.