Skip to contents

Get folder were files and data related to the current website are stored

Usage

cas_get_website_folder(base_folder = NULL, project = NULL, website = NULL)

Arguments

base_folder

Defaults to NULL, can be set once per session with cas_set_options(). A path to a location used for storing html and other project files. If the folder does not exist, it will be created. If not given, and not previously set as environment variable, defaults to castarter_data.

project

Defaults to NULL. Project name, can be set once per session with cas_set_options(). This will be used as first level folder and may be used elsewhere to describe the dataset.

website

Defaults to NULL. Website name, can be set once per session with cas_set_options(). This will be used as a second level folder and may be used elsewhere to describe the dataset.

Value

A path to a folder.

Examples


cas_get_website_folder()
#> /tmp/Rtmp1QODEK/castarter_data/test_project/test_website