Skip to contents

Imports item-level data from a specified file path, checks for unrealistic values, and prepares the data for further processing. This function is intended to be called within the larger prepare_data workflow.

Usage

import_item_data(path)

Arguments

path

A character string specifying the path to the data file. Typically generated by the data_paths function.

Value

A tibble containing item-level data.

See also

prepare_data() is a wrapper of this function.

Examples

if (FALSE) { # \dontrun{
p <- data_paths("data-raw")
data <- import_item_data(p[1])
} # }