Reads a raw STEPS data file (CSV, Excel, Stata, or SPSS) and standardises column names to lowercase with underscores.

import_steps_data(path)

Arguments

path

Character. Path to the data file.

Value

A data frame with cleaned column names.

Examples

if (FALSE) { # \dontrun{
raw <- import_steps_data("data/raw/steps_data.csv")
} # }