Skip to content

Commit

Permalink
get_soilseries_from_NASIS: Remove areaacres and obterm for #272
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Oct 11, 2022
1 parent bd6c640 commit b5f5692
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/get_soilseries_from_NASIS.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ get_soilseries_from_NASIS <- function(stringsAsFactors = NULL,
}

q.soilseries <- "
SELECT soilseriesname, soilseriesstatus, benchmarksoilflag, soiltaxclasslastupdated, mlraoffice, taxclname, taxorder, taxsuborder, taxgrtgroup, taxsubgrp, taxpartsize, taxpartsizemod, taxceactcl, taxreaction, taxtempcl, taxfamhahatmatcl, originyear, establishedyear, descriptiondateinitial, descriptiondateupdated, statsgoflag, soilseriesiid, areasymbol, areaname, areaacres, obterm, areatypename, soilseriesedithistory
SELECT soilseriesname, soilseriesstatus, benchmarksoilflag, soiltaxclasslastupdated, mlraoffice, taxclname, taxorder, taxsuborder, taxgrtgroup, taxsubgrp, taxpartsize, taxpartsizemod, taxceactcl, taxreaction, taxtempcl, taxfamhahatmatcl, originyear, establishedyear, descriptiondateinitial, descriptiondateupdated, statsgoflag, soilseriesiid, areasymbol, areaname, areatypename, soilseriesedithistory
FROM soilseries ss
INNER JOIN area a ON a.areaiid = ss.typelocstareaiidref
INNER JOIN areatype at ON at.areatypeiid = ss.typelocstareatypeiidref
Expand Down Expand Up @@ -68,8 +68,7 @@ get_soilseries_from_NASIS <- function(stringsAsFactors = NULL,
"taxsuborder", "taxgrtgroup", "taxsubgrp", "taxpartsize", "taxpartsizemod",
"taxceactcl", "taxreaction", "taxtempcl", "taxminalogy", "taxfamhahatmatcl",
"originyear", "establishedyear", "descriptiondateinitial", "descriptiondateupdated",
"statsgoflag", "soilseriesedithistory", "areasymbol", "areaname",
"areaacres", "obterm", "areatypename")])
"statsgoflag", "soilseriesedithistory", "areasymbol", "areaname", "areatypename")])
}

#' @param soils A vector of soil series names
Expand Down

0 comments on commit b5f5692

Please sign in to comment.