tidy_ingest: Tidy ingested data

Description Usage Arguments Value

View source: R/data.R

Description

Tidy the ingested data from the smartsurvey API. Tidy column names and remove empty rows from the ingested data. The question numbers returned are only nested to one level, e.g. Q1.1, Q1.2, etc. However, the function will work on any number of nester levels or none. Use covert_raw() to convert the smartsurvey API response to a data.frame before using this function on the data.

Usage

1

Arguments

data

the data returned by the ingest function (data.frame)

Value

the tidied data (data.frame)


best-practice-and-impact/CARS2 documentation built on Dec. 19, 2021, 8:47 a.m.