diff --git a/inst/metadata/entity/entity_handler_ncml.R b/inst/metadata/entity/entity_handler_ncml.R index 56de1e9..9f989fa 100644 --- a/inst/metadata/entity/entity_handler_ncml.R +++ b/inst/metadata/entity/entity_handler_ncml.R @@ -86,7 +86,7 @@ handle_entities_ncml <- function(handler, source, config, handle = TRUE){ #identifiers - entity$setIdentifier("id", basename(attr$full_name$value)) + entity$setIdentifier("id", basename(attr$id$value)) doi <- attr$identifier_product_doi$value if(!is.null(doi)){ @@ -98,7 +98,7 @@ handle_entities_ncml <- function(handler, source, config, handle = TRUE){ if(!is.null(title)){ entity$setTitle("title", title) }else{ - entity$setTitle("title",basename(attr$full_name$value)) + entity$setTitle("title",basename(attr$id$value)) } #description