Skip to content

Commit

Permalink
Merge pull request #336 from jeanetteclark/master
Browse files Browse the repository at this point in the history
make `get_attributes` fully compatible with annotations
  • Loading branch information
cboettig authored Apr 27, 2022
2 parents 4cbd856 + 6ac19fa commit f76bcb0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions R/get_attributes.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ get_attributes <- function(x, eml = NULL) {
"propertyLabel",
names(atts),
fixed = TRUE)
names(atts) <- gsub("annotation.propertyURI.propertyURI",
"propertyURI",
names(atts),
fixed = TRUE)
names(atts) <- gsub("annotation.valueURI.valueURI",
"valueURI",
names(atts),
fixed = TRUE)
names(atts) <- gsub(".+\\.+",
"",
names(atts))
Expand Down

0 comments on commit f76bcb0

Please sign in to comment.