Creates the updated vri-bem object

create_updated_vri_bem(
  vri,
  bem,
  rivers,
  wetlands,
  beu_bec_csv,
  beu_wetland_update_csv,
  rules_dt,
  clear_site_ma = TRUE,
  use_ifelse = TRUE,
  return_intersection_dt = FALSE,
  verbose = TRUE
)

Arguments

vri

sf object of vri

bem

sf objects of bem

rivers

sf object of rivers

wetlands

sf object of wetlands

beu_bec_csv

data.table of beu_bec_csv

beu_wetland_update_csv

data.table of wetlands correction csv

rules_dt

data.table of rules for improvement of beu

clear_site_ma

boolean, if TRUE variable SITE_M1A, SITE_M2A will be cleared

use_ifelse

boolean, if TRUE correction done after the combine_duplicated_BEUMC will only be applied on rows that were not affected by the correction of duplicated BEUMC

return_intersection_dt

Boolean, if TRUE will return a list that contains the sf object and the intersection data.table of VRI and BEM

verbose

boolean , if TRUE function will return message to indicate progress throughout the function execution

Value

sf object updated vri-bem