getprimaries: Get Primary People

Description Usage Arguments Value

View source: R/getprimaries.R

Description

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.

Usage

1
getprimaries(df, y = hallptbl, by = "pidm")

Arguments

df

a data frame

y

a hallp-like data frame or database table

by

a character vector of variables to join by

Value

a one columns data frame of only primary people's pidms


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.