Skip to contents

Imports Marketing Miner CSV file(s) to an empty kwresearch object

Usage

kwr_import_mm(kwr, path, quiet = FALSE)

Arguments

kwr

An empty kwresearch object.

path

Either a single character string containing a path to a folder, or a character vector, where each item is a path to a CSV file.

quiet

If TRUE prints no messages.

Value

The provided kwresearch object with imported queries.

Examples

# Import 2 files:
if (FALSE) {
kwr <- kwresearch() |>
  kwr_import_mm(c("f1.csv", "f2.csv"))
}

# Import all CSV files in th data-raw folder
if (FALSE) {
kwr <- kwresearch() |>
  kwr_import_mm("data-raw")
}