read_md_table_example {readMDTable} | R Documentation |
Get Path to readMDTable Examples
read_md_table_example(file = NULL)
file |
Name of file. If |
readMDTable comes with a number of well-known datasets as example
markdown tables in the inst/extdata
directory. read_md_table_example
will list the file names or return the path of a specified file.
Vector of example file names if file
is NULL
, else the path
to the example markdown table file.
# List the available example files
read_md_table_example()
# Get the path to the mtcars example file
read_md_table_example("mtcars.md")
# Read in an example file
mtcars_path <- read_md_table_example("mtcars.md")
read_md_table(mtcars_path)