Skip to content

Commit

Permalink
fix keyword handling
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jun 1, 2024
1 parent ea1cc91 commit 7878379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geoflow_entity.R
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,7 @@ geoflow_entity <- R6Class("geoflow_entity",
if (nrow(matchAttrValues)>0){
#Extract label[code] of this values
for(i in 1:nrow(matchAttrValues)){
matchAttrValues$keyword[i]<-paste0("\'",matchAttrValues$label[i],"[",matchAttrValues$code[i],"]\'",if(!is.na(matchAttrValues$uri[i])){paste0("@",matchAttrValues$uri[i])}else{""})
matchAttrValues$keyword[i]<-paste0(matchAttrValues$label[i]," [",matchAttrValues$code[i],"]",if(!is.na(matchAttrValues$uri[i])){paste0("@",matchAttrValues$uri[i])}else{""})
}
keywords<-unique(matchAttrValues$keyword)

Expand Down

0 comments on commit 7878379

Please sign in to comment.