Skip to contents

Prepare nested dataset

Usage

prepDF(df, unitID, subunitID)

Arguments

df

dataframe

unitID

character; unit column name in original dataset

subunitID

character; sub-unit column name in original dataset

Value

processed dataframe