Get vegetation plot data from local NASIS database
Source:R/fetchVegdata.R
, R/get_vegplot_data_from_NASIS_db.R
fetchVegdata.Rd
Convenience function for loading most commonly used Vegetation Plot information from local NASIS database.
Usage
fetchVegdata(
SS = TRUE,
include_pedon = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_from_NASIS_db(SS = TRUE, stringsAsFactors = NULL, dsn = NULL)
get_vegplot_location_from_NASIS_db(
SS = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_trhi_from_NASIS_db(SS = TRUE, stringsAsFactors = NULL, dsn = NULL)
get_vegplot_species_from_NASIS_db(
SS = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_transect_from_NASIS_db(
SS = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_transpecies_from_NASIS_db(
SS = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_transpoints_from_NASIS_db(SS = TRUE, dsn = NULL)
get_vegplot_prodquadrats_from_NASIS_db(SS = TRUE, dsn = NULL)
get_vegplot_tree_si_summary_from_NASIS_db(
SS = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_speciesbasalarea_from_NASIS(SS = TRUE, dsn = NULL)
get_vegplot_tree_si_details_from_NASIS_db(
SS = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
get_vegplot_textnote_from_NASIS_db(
SS = TRUE,
fixLineEndings = TRUE,
stringsAsFactors = NULL,
dsn = NULL
)
Arguments
- SS
fetch data from the currently loaded selected set in NASIS or from the entire local database (default:
TRUE
)- include_pedon
Include pedon and transect data joined to site? (default:
TRUE
). Ifinclude_pedon
is set to"assocuserpedonid"
only pedon records that are linked through the Associated User Pedon ID column will have their peiid reported in thevegplot
table.- stringsAsFactors
deprecated
- dsn
Optional: path to local SQLite database containing NASIS table structure; default:
NULL
- fixLineEndings
Replace
'\r\n'
with'\n'
; Default:TRUE