Description Usage Arguments Value Examples
upload an object to dataone
| 1 2 3 4 | d1_upload(object, uid, id = getid("extract", object),
  cert = "/tmp/x509up_u1000",
  node = "https://knb.ecoinformatics.org/knb/d1/mn/v1",
  sysmeta = write_sysmeta(object, uid = uid, id = id))
 | 
| object | new data file to be uploaded | 
| uid | the user id of the data maintainer | 
| id | what identifier should be used for the object; default will try and guess from object metadata (e.g. EML metadata). | 
| cert | path to the x509 certificate from https://cilogon.org/?skin=DataONE | 
| node | The URL to the DataONE node we intend to update. Defaults to the KNB | 
| sysmeta | the required system metadata for the package, geranted by default. | 
httr::response object indicating the success or failure of the call
| 1 2 3 4 5 | ## Not run: 
f <- system.file("doc", "reml_example.xml", package="EML")
d1_upload(f, "boettiger", id=uuid::UUIDgenerate(), node = knb_test)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.