View source: R/mpath_example.R
mpath_example | R Documentation |
This function provides an easy way to access the m-Path example files.
mpath_example(file = NULL)
file |
the name of the file to be accessed. If |
a character string with the path to the m-Path example data
# Example 1: access 'example_basic.csv' data
mpath_example('example_basic.csv') # returns the full path to the file
'example_basic.csv'
# Example 2: list all the example files
mpath_example() # returns the example files as a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.