This is a simple function which first reads 'filename' file in the working directory and
then outputs it as a tibble. You can input filename (using the
It the file does not exist in the working directory, the function will stop and print an
error message; otherwise the function will call 'read_csv' function in "readr" package and
'tbl_df' function in "dplyr" package to read and transform the file into a tibble.
The name of the file you want to process
The function returns the content of the file in a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.