Skip to contents

create_local_veg_db saves your NASIS selected set to your local drive as a .sqlite database. The function utilizes soilDB::createStaticNASIS, and includes the appropriate tables to access vegetation data. The output can be used as a reliable, local copy of query results, allowing the user to change their NASIS selected set and still access the data of interest. The file extension needs to be ".sqlite". If you are working with a dataset that commonly has new data entered, it is probably best to work off of your NASIS selected set rather than using a local sqlite database.

Usage

create_local_veg_db(output_path)

Arguments

output_path

Value

a local .sqlite database of your SS

Details

Appropriate queries to run to populate your selected set with vegetation data include: MLRA13_Wasilla > Pedon/Site/Transect/Vegetation Plot by usiteid (multiple) & MLRA13_Wasilla > Pedon/Site/Vegetation Plot by site area overlap table

Examples

if (FALSE) {
vegStaticNASIS(output_path = "C:/Users/Nathan.Roe/Documents/SEKI/CA792_veg_data.sqlite")
}