Get Soil Color Data from a local NASIS Database
Source:R/get_colors_from_NASIS_db.R
get_colors_from_NASIS_db.Rd
Get, format, mix, and return color data from a NASIS database.
Arguments
- SS
fetch data from Selected Set in NASIS or from the entire local database (default:
TRUE
)- mixColors
should mixed colors be calculated (Default:
TRUE
) where multiple colors are populated for the same moisture state in a horizon?FALSE
takes the dominant color based oncolorpct
or first record based on horizon ID (phiid
) sorting for "moist" and "dry" state. Pedon Horizon Color records without a moisture state populated are ignored.- dsn
Optional: path to local SQLite database containing NASIS table structure; default:
NULL