Calculate cropland threshold for excluding small agricultural areas Uses county 500ha baseline to determine percentile for other scales
calculate_cropland_threshold(
county_data,
target_data,
county_cropland_col,
target_cropland_col,
baseline_ha = 500
)Numeric. Threshold value for target scale
Data frame. County-level NuGIS data with cropland column
Data frame. Target scale data (HUC8, HUC2) with cropland column
Character. Name of cropland column in county data
Character. Name of cropland column in target data
Numeric. Baseline cropland in hectares for exclusion (default: 500)