Add bioregions data to existing df

pr_add_Bioregions(df, near_dist_km = 0)

Arguments

df

A dataframe with columns .data$Longitude and .data$Latitude

near_dist_km

What buffer distance to use to find a BioRegion match #'

Value

A dataframe with Marine Bioregions added

Examples

 df <- pr_get_Raw("cpr_derived_indices_data") %>%
  pr_rename() %>%
   pr_add_Bioregions()

 df <- pr_get_Raw("cpr_derived_indices_data") %>%
  pr_rename() %>%
   pr_add_Bioregions(near_dist_km = 250)