ValidateNameIdPairs | R Documentation |
Checks name list and paired id list (same length) and verifies they correspond to each other
ValidateNameIdPairs(
names,
ids,
type,
exact = TRUE,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
names |
string vector - names of spcific class of metadata - category option, indicator etc |
ids |
string vector - ids of specific class of metadata - category option, indicator etc |
type |
string - metadata endpoint - cataegoryOptions, indicators, etc |
exact |
boolean - exact = true matches the full name in datim with the name provided exact = false is a case sensitive serch that the name provided is part of the name in datim |
dplyr::all_equal response for exact = true or tibble of mismatches if exact = false
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.