View source: R/unPackYear2Sheet.R
pickUIDFromType | R Documentation |
Title pickUIDFromType is a utility function used to obtain a particular UID from a supplied list based on the type of value we are dealing with. In the Year2 tab, values disaggregated by AgeSex, KP and EID are co-mingled and must be separated based on available disaggregates.
pickUIDFromType(type, de_uid_list)
type |
Disaggregate type (e.g. AgeSex, KP, EID) |
de_uid_list |
A list of possible UIDs (e.g. c("UID1","KPUID2" ) |
A UID based on the supplied type. Returns NA if no UID is matched.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.