Skip to content

Commit a4fef08

Browse files
committed
add digest ID for contact retrieved through OGC CSW
1 parent 6613348 commit a4fef08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

inst/metadata/entity/entity_handler_ogc_csw.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ handle_entities_csw <- function(handler, source, config, handle = TRUE){
5757
}
5858
}
5959
contact$setRole(rp$role$attrs$codeListValue)
60+
contact$setIdentifier(key = "digest", digest::digest(contact))
6061
return(contact$clone(deep = TRUE))
6162
}
6263

0 commit comments

Comments
 (0)