- x
A vector of values to find in column specified by what, default NULL uses no constraints on what
- what
A single column name from tables: lab_combine_nasis_ncss, lab_webmap, lab_site, lab_pedon or lab_area
- bycol
A single column name from lab_layer used for processing chunks; default: "pedon_key"
- tables
A vector of table names; Default is "lab_physical_properties", "lab_chemical_properties", "lab_calculations_including_estimates_and_default_values", and "lab_rosetta_Key". May also include one or more of: "lab_mir", "lab_mineralogy_glass_count", "lab_major_and_trace_elements_and_oxides", "lab_xray_and_thermal" but it will be necessary to select appropriate prep_code and analyzed_size_frac for your analysis (see Details).
- chunk.size
Number of pedons per chunk (for queries that may exceed maxJsonLength)
- ntries
Number of tries (times to halve chunk.size) before returning NULL; default 3
- layer_type
Default: "horizon", "layer", and "reporting layer"
- prep_code
Default: "S" and "". May also include one or more of: "F", "HM", "HM_SK" "GP", "M", "N", or "S"
- analyzed_size_frac
Default: "<2 mm" and "". May also include one or more of: "<0.002 mm", "0.02-0.05 mm", "0.05-0.1 mm", "0.1-0.25 mm", "0.25-0.5 mm", "0.5-1 mm", "1-2 mm", "0.02-2 mm", "0.05-2 mm"
- dsn
Data source name; either a path to a SQLite database, an open DBIConnection or (default) NULL (to use soilDB::SDA_query)