Description Usage Arguments Value
A convenience wrapper for read.csv which lowercases column names and removes punctuation (but leaves underscores). It also has an option to only read the csv if the object does not exist.
1 |
x |
the filename to load. Should be a csv. Defaults to reading from the clipboard. |
sep |
the field separator character. If x == 'clipboard', sep defaults to tab seperated files. Otherwise, it defaults to ',' to read csv data. |
ifexists |
should the function check if the object exists. Default = F |
existsname |
what object should the function look for, assuming ifexists = T. If ifexists == T and existname is not empty, the function will return the object with name = existsname. |
... |
Arguments passed on to
|
Returns a data frame will lower cased names and all punctuation removed. If dplyr is already loaded, it returns a data frame as a tbl_df–otherwise, it returns a simple data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.