Learn R Programming

harmonizer (version 0.3.2)

get_data_directory: 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)

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.

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.

Examples

Run this code

get_data_directory()

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

Run the code above in your browser using DataLab