Description Usage Arguments Examples
This function download a DataONE data or metadata object into the R environment
1 | get_object(data_pid, as = "parsed", ...)
|
data_pid |
(character) The data or metadata object PID |
as |
desired type of output: raw, text or parsed. content attempts to automatically figure out which one is most appropriate, based on the content-type. (based on |
... |
pass arguments to read.csv |
1 2 3 4 5 | ## Not run:
data <- get_object("urn:uuid:a81f49db-5841-4095-aee2-b0cad7a35cc0")
meta <- get_object("doi:10.18739/A2PC2T79B")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.