Description Usage Arguments Value
turn a data frame of people into a data frame of only primary. Grabs any primary people that are on the list, plus the primary spouse if they're not already on the list.
1 | getprimaries(df, y = hallptbl, by = "pidm")
|
df |
a data frame |
y |
a hallp-like data frame or database table |
by |
a character vector of variables to join by |
a one columns data frame of only primary people's pidms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.