Description Usage Arguments Value Examples
This functions creates a absolute file path with forward slashes. It takes in as its argument a relative path to the data file you want to read. From that relative path it creates a absolute path to that data file that is unique to the local file system. This helps avoid file path errors that people run into when they read each others code.
1 | create_abs_path(relPathToDataFile)
|
relPathToDataFile |
relative path to the data file (using forward slashes) |
abs_path
absolute path to data file (with forward slashes)
1 | abs_path <- create_abs_path(relPathToDataFile = "path/to/data.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.