View source: R/df_name_dot_csv.R
df_name_dot_csv | R Documentation |
Dataframe to CSV
df_name_dot_csv(x)
x |
dataframe or tibble |
This function takes a dataframe and extracts the name of the dataframe as text or string. You can then use this string to name a csv file.
Returns the name of the dataframe as a text.
df <- as.data.frame(datasets::cars)
df_name_dot_csv(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.