Skip to contents

Create folder structure for a new BLE LTER data package ID Create these following items: folder structure, R project, reusable R script from template

Usage

init_datapkg(
  dataset_id,
  dataset_nickname,
  base_path = "K:/Data",
  data_year = NULL
)

Arguments

dataset_id

(numeric) Dataset ID

dataset_nickname

(character)

base_path

(character) Full file path to parent directory to initiate under. Defaults to "K:/Data", which is the shared BLE network drive, mapped to the K drive on An's PC.

data_year

(numeric) The year of data that the generated script will process. E.g. you may be working with 2021 data in 2022. Defaults to the current calendar year if not specified.

Value

Nothing in R, but new folder structure and R script from template