get_data_directory {harmonizer}R Documentation

Data path for custom data

Description

Provides the directory where custom data must be stored and the used data (e.g., concordance lists, list of codes) can be edited.

Usage

get_data_directory(path = TRUE, open_explorer = FALSE,
                   show_data = NULL)

Arguments

path

logical, determines whether the path is printed in the console

open_explorer

logical, determines whether an explorer is opened in addition. Only executable if the directory path does not contain any blanks.

show_data

character string, which must take one of the following values: "CN8", "HS6", "PC8" or "HS6toBEC". All available data in in the given directory is printed in the console. Only executable if the directory path does not contain any blanks.

Value

Returns the path (character), of the directory where custom data must be stored and the used data (e.g., concordance lists, list of codes) can be edited.

Examples


get_data_directory()

get_data_directory(path = FALSE, show_data = "CN8")

[Package harmonizer version 0.3.2 Index]