Skip to contents

Get Interpretation Rating "Reasons" from SSURGO cointerp table

Usage

get_SSURGO_interp_reasons_by_mrulename(
  dsn,
  drv = RSQLite::SQLite(),
  mrulename,
  n = 2,
  close = TRUE
)

Arguments

dsn

A DBIConnection

drv

A DBI driver (Default: RSQLite::SQLite())

mrulename

Rule name of interpretation

n

Number of reasons to return

close

close connections that were opened internally when done? Default: TRUE

Value

A data.frame containing columns: "lmapunitiid", "coiid", "mrulename", "cokeyref", "Reasons", "liid", "muiid", "corriid", "dmuiid", "areasymbol", "musym", "compname", "comppct_r", "interphr", "interphrc","mukey"