Description Usage Arguments Value
View source: R/check_reported_strata_against_spatial_poly.R
check_reported_strata_against_spatial_poly
1 2 3 4 5 6 7 8 | check_reported_strata_against_spatial_poly(
dataset,
strata_poly,
dataset_coordinates = c("X_gps_reading_longitude", "X_gps_reading_latitude"),
dataset_strata_name,
poly_strata_name,
cols_to_report = c("X_uuid", "enumerator_id")
)
|
dataset |
data set with coordinates |
strata_poly |
polygon (converted to sf object) which defines strata (administrative unit, camp boundary, etc.) |
dataset_coordinates |
columns in dataset with hold longitude latitude in that order. default is c("X_gps_reading_longitude" , "X_gps_reading_latitude") |
dataset_strata_name |
column name which hold the strata in the datset |
poly_strata_name |
column which hold the strata in the polygon file |
cols_to_report |
columns which you want to report along with mismatched strata. default is c("X_uuid","enumerator_id") |
dataframe where strata reported in dataset do not match strata in spatial admin file according to coordinates in data set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.