hfr_orgunit_search | R Documentation |
A look up for an partial orgunit name against the DATIM list of orgunits, when trying to find the correct or missing orgunituid
hfr_orgunit_search(df, orgunit_name, ou = NULL)
df |
org hierarchy, created in pull_hierarchy() |
orgunit_name |
full or partial orgunit name for matching |
ou |
operating unit; if added searches only that OU default = NULL |
## Not run:
load_secrets("datim")
org <- pull_hierarchy(datim_user(), datim_pwd())
# orgunit - "Kewot"
hfr_orgunit_search(org, "Kew", "Ethiopia")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.