Description Usage Arguments Value Examples
View source: R/AllConstructors.R
Create an instance of the minid class
1 2 3 4 5 6 7 8 | minid(identifier = vector(mode = "character"),
short_identifier = vector(mode = "character"), creator = vector(mode =
"character"), orcid = vector(mode = "character"), created = vector(mode =
"character"), checksum = vector(mode = "character"),
checksum_function = vector(mode = "character"), status = vector(mode =
"character"), locations = vector(mode = "list"), titles = vector(mode =
"list"), obsoleted_by = vector(mode = "list"), content_key = vector(mode =
"character"))
|
identifier |
a character string containing the minid (e.g. ark:/99999/fk4mp58v5t) |
short_identifier |
a character string containing the short minid (e.g. "minid:fk4mp58v5t") |
creator |
a character string giving the name of the person who registered the minid (e.g. "mdarcy"). |
orcid |
a character string giving the ORCid of the person who registered the minid (e.g. "0000-0003-2280-917X") |
created |
a character string giving the date and time the minid was created (e.g. "Mon, 19 Mar 2018 17:43:57 GMT") |
checksum |
the checksum of the identified digital object (e.g. "6484968f81afac84857d02b573b0d589fb2f9582a2b920572830dc5781e0a53c") |
checksum_function |
the hashing function used to calculate the checksum (e.g. "SHA") |
status |
The minid status (e.g. "ACTIVE" or "MOTHBALLED"). Note: may be NULL |
locations |
A list of named lists containing locations hosting the identified digital object (e.g. locations[[1]]$created = "Mon, 19 Mar 2018 17:43:57 GMT", locations[[1]]$creator = "mdarcy", locations[[1]]$link = "https://nih-commons.s3.amazonaws.com/misc/agr-example.tgz"), locations[[1]]$uri = "https://nih-commons.s3.amazonaws.com/misc/agr-example.tgz"). |
titles |
A list of named lists containing titles for the identified digital object (e.g. titles[[1]]$creator = "mdarcy", titles[[1]]$created = "Mon, 19 Mar 2018 17:43:57 GMT", titles[[1]]$title = "AGR Data set with identifier-based references to data in cloud storage" |
obsoleted_by |
For minids that have "MOTHBALLED" status, a list of minids superceding the mothballed minid. |
content_key |
a character string, used for the hash of a bdbag. |
an instance of the minid class
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ## Not run:
test_minid <- minid(
identifier = "ark:/57799/b9j69h",
short_identifier = "minid:fk4mp58v5t",
creator = "mdarcy",
orcid = "0000-0003-2280-917X",
created = "Mon, 19 Mar 2018 17:43:57 GMT",
checksum = paste0("6484968f81afac84857d02b573b0d589fb2f9582a2b920572830dc",
"5781e0a53c"),
checksum_function = "SHA",
status = "ACTIVE",
locations = list(
list(created = "Mon, 19 Mar 2018 17:43:57 GMT",
creator = "mdarcy",
link =
"https://nih-commons.s3.amazonaws.com/misc/agr-example.tgz",
uri =
"https://nih-commons.s3.amazonaws.com/misc/agr-example.tgz")),
titles = list(
list(created = "Mon, 19 Mar 2018 17:43:57 GMT",
creator = "mdarcy",
title = paste0("AGR Data set with identifier-based references to",
"data in cloud storage")),
obsoleted_by = list(NULL),
content_key = as.character(NULL)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.