Using current master; d29cd9b.
I just came to find out that a bunch of GRTS addresses in mhq_terr_popunits, notably in the grts_ranking_draw column, do not exist in the GRTSmaster_habitats data source. What should happen to these rows @ToonHub ?
> grts_mh <- read_GRTSmh()
> mhq_terr_datapath <- file.path(dirname(gitroot), "n2khab-sample-admin/data/mhq_terr/rapportage2025")
> mhq_terr_popunits_grts <-
read_vc("mhq_terr_popunits", root = mhq_terr_datapath) %>%
as_tibble()
>
> suspected_grts <- c(
6, 55, 60, 61, 63, 64, 70, 83, 87, 36, 69, 81,
84, 90, 13, 44, 103, 92, 94, 62
)
>
> suspected_grts %in% mhq_terr_popunits_grts$grts_ranking_draw
[1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[18] TRUE TRUE TRUE
>
> suspected_grts %in% terra::values(grts_mh)
[1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
[15] FALSE FALSE FALSE FALSE FALSE FALSE
Using current
master; d29cd9b.I just came to find out that a bunch of GRTS addresses in
mhq_terr_popunits, notably in thegrts_ranking_drawcolumn, do not exist in theGRTSmaster_habitatsdata source. What should happen to these rows @ToonHub ?