Skip to content

Commit

Permalink
fix getISOCodelists
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 2, 2025
1 parent d9e0cd9 commit f75d9b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/ISOCodelist.R
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,10 @@ getISOCodelists <- function(version = NULL){
classname = x$classname,
codeSpace = if(!is.null(cl$codeSpace)) cl$codeSpace else NA,
description = if(!is.null(cl$description)) cl$description else NA,
xmlNamespace = cl_ns,
xmlNamespace = if(!is.null(cl_ns)) cl_ns else NA,
xmlElement = el
)
out = out[!is.na(out$xmlNamespace),]
return(out)
}))
}else{
Expand Down

0 comments on commit f75d9b8

Please sign in to comment.