Skip to content

Commit

Permalink
get_extended_data_from_NASIS_db: fix conversion of codes to labels fo…
Browse files Browse the repository at this point in the history
…r microrelief
  • Loading branch information
brownag committed Jun 5, 2024
1 parent 4207c8d commit 035b2a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/get_extended_data_from_NASIS_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ LEFT OUTER JOIN (
d.rf.data <- uncode(d.rf.data, dsn = dsn)
d.art.data <- uncode(d.art.data, dsn = dsn)
d.hz.texmod <- uncode(d.hz.texmod, dsn = dsn)
d.geomorph <- uncode(d.geomorph, dsn = dsn)
# ensure that taxhistory is always character
d.taxhistory[] <- lapply(uncode(d.taxhistory, dsn = dsn),
function(x) if (is.factor(x)) as.character(x) else x)
Expand Down

0 comments on commit 035b2a0

Please sign in to comment.