get_data_file: Get path to data file

View source: R/data_fcts.R

get_data_fileR Documentation

Get path to data file

Description

This is a helper function of book "Analyzing Financial and Economic Data with R" by Marcelo S. Perlin. With this function you'll be able to read the tables used in the book using only the filenames.

Usage

get_data_file(name_dataset)

Arguments

name_dataset

Name of the dataset filename (see afedR_list_available_data for more details)

Value

A path to the data file

Examples

path_to_file <- afedR_get_data_file('grunfeld.csv')

msperlin/afedR documentation built on Sept. 11, 2022, 9:49 a.m.