f: returns path to file

View source: R/rOstluft.data.R

fR Documentation

returns path to file

Description

Wrapper around base::system.file() to simplify generating file names

Usage

f(fn)

Arguments

fn

file name

Value

path to file

Examples

path_to_file <- f("Zch_Stampfenbachstrasse_2010-2014.csv")

# is the same as
path_to_file <- system.file("extdata", "Zch_Stampfenbachstrasse_2010-2014.csv",
                            package = "rOstluft.data", mustWork = TRUE)

Ostluft/rOstluft.data documentation built on July 29, 2023, 11:10 a.m.