Skip to content

Commit

Permalink
vegtransect_id => vegtransectiid, vtpsiid => vegtransplantsummiid
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Dec 10, 2024
1 parent 85270f7 commit 8ba9446
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/get_veg_data_from_NASIS_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ get_veg_data_from_NASIS_db <- function(SS=TRUE, dsn = NULL) {
}

# veg transect
q.vegtransect <- "SELECT siteiid, vegplotiid, vegplotid, vegplotname, obsdate, primarydatacollector, datacollectionpurpose, assocuserpedonid, vegtransectid, vegtransplantsummiid vtpsiid, transectlength, plantsym, plantsciname, plantnatvernm
q.vegtransect <- "SELECT siteiid, vegplotiid, vegplotid, vegplotname, obsdate, primarydatacollector, datacollectionpurpose, assocuserpedonid, vegtransectid, vegtransplantsummiid, transectlength, plantsym, plantsciname, plantnatvernm
FROM site_View_1 AS s
INNER JOIN siteobs ON siteobs.siteiidref=s.siteiid
Expand Down
4 changes: 2 additions & 2 deletions R/get_vegplot_data_from_NASIS_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ get_vegplot_transpecies_from_NASIS_db <- function(SS = TRUE,
}
# veg transect species data - many species to one veg transect
q.vtps <- "SELECT siteiid, siteobsiid, vegplotiid, vegtransectiidref as vegtransect_id, vegplotid, vegplotname,
obsdate, vegtransplantsummiid as vtpsiid, vtps.seqnum, plantsym, plantsciname,
q.vtps <- "SELECT siteiid, siteobsiid, vegplotiid, vegtransectiidref as vegtransectiid, vegplotid, vegplotname,
obsdate, vegtransplantsummiid, vtps.seqnum, plantsym, plantsciname,
plantnatvernm, plantnativity, planttypegroup,
plantheightcllowerlimit, plantheightclupperlimit, sociabilityclass,
specieslivecanhtbotave, specieslivecanhttopave, overstorydbhmin,
Expand Down

0 comments on commit 8ba9446

Please sign in to comment.