Learn R Programming

ouladFormat (version 1.1.2)

path_to_file: Get file path to the sample_studentVLE.csv file

Description

ouladFormat comes bundled with the sample studentVLE data in its inst/extdata directory (sample_studentVLE.csv). This .csv file is a subset (rows 10,000-14,999) of the original OULAD studentVLE.csv. This function makes it easy to access.

Usage

path_to_file(path = NULL)

Value

No return value, called for side effects.

Arguments

path

Name of file in quotes with extension. If NULL, the example file will be listed.

Examples

Run this code
path_to_file()
read.csv(path_to_file("sample_studentVLE.csv"))

Run the code above in your browser using DataLab