parse_filename: parse_filename

View source: R/helper_functions_minimal.R

parse_filenameR Documentation

parse_filename

Description

Parse input files to get the essential pieces encoded in the filename column

Usage

parse_filename(DF, separator = "_")

Arguments

DF

DF including the column filename

separator

by default "_"

Value

Same DF with extra columns "project", "experiment", "version", "datetime", "id"

Examples

tibble::tibble(filename = "999_RTS_original_2023-02-13T222222_1.csv") |>  parse_filename()

gorkang/jsPsychHelpeR documentation built on Oct. 15, 2024, 8 a.m.