SQL computing the per-taxon mass-preserving factor of a folded-in density survey
Source:R/density_cal.R
density_cal_factors_sql.RdSQL computing the per-taxon mass-preserving factor of a folded-in density survey
Arguments
- dens
character; a relation
(ms_merge_key, cell_id, val)of the survey values (the annual density models' rows of the density taxa, after the ingest's 0-100 transform).- replaced
character; a relation
(ms_merge_key, cell_id, val)of what the survey replaces on those cells: the suitability (max over AquaMaps / AquaX models) where one existed, else the taxon's governing er_score where a range dataset covered the cell. Cells absent from it had no prior value.