Skip to contents

Function to pivot from wide to long agregated data by group produced with srvyr::summarise

Usage

pivot_longer_survey(data, n_groups)

Arguments

data

A dataframe with Agregated data to pivot

n_groups

Number of groups by which data have been agregated

Value

A dataframe