if (FALSE) {
# Create directory for DwC-A outputs
mypath <- paste0(tempdir(), "/data")
dir.create(mypath)
# Convert an EDI published ecocomDP dataset to a DwC-A
convert_to_dwca(
path = mypath,
core_name = "event",
source_id = "edi.193.5",
derived_id = "edi.834.2",
user_id = "ecocomdp",
user_domain = "EDI")
dir(mypath)
# Clean up
unlink(mypath, recursive = TRUE)
}
Run the code above in your browser using DataLab