Skip to content

Commit

Permalink
get_site_data_from_NASIS_db: fix selected set argument
Browse files Browse the repository at this point in the history
 - didn't get ecosite data from whole local with SS=F
  • Loading branch information
brownag committed Mar 8, 2023
1 parent ec48b0f commit 58c4c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_site_data_from_NASIS_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ORDER BY pedon_View_1.peiid ;"
}

# join in "best" ecological site
bes <- get_ecosite_history_from_NASIS_db(SS = TRUE, best = TRUE, dsn = dsn)
bes <- get_ecosite_history_from_NASIS_db(SS = SS, best = TRUE, dsn = dsn)
if (length(bes) > 0) {
d2 <- merge(d2, bes, by = "siteiid", all.x = TRUE, sort = FALSE)
}
Expand Down

0 comments on commit 58c4c60

Please sign in to comment.