path_to_file | R Documentation |
penguins.csv
and penguins_raw.csv
filespalmerpenguins comes bundled with two csv files in its inst/extdata
directory. This function make them easy to access.
path_to_file(path = NULL)
path |
Name of file in quotes with extension;
|
The data in each file is the same as penguins
and penguins_raw
,
but without the variable types.
This function is adapted from readxl::readxl_example()
.
path_to_file() path_to_file("penguins_raw.csv") head(read.csv(path_to_file("penguins.csv")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.