glimpse_to_file | R Documentation |
Understanding the dataset through a glimpse of it will come handy while data manipulation coding. This function generates the glimpse of data.frame (similar to str()) using tibble::glimpse and write to a text file. Using same file name for different datasets will append the outputs to a same file.
glimpse_to_file(dataset, output_filename = "")
dataset |
A data.frame object |
output_filename |
Name of the output text file (prefer to end in ".txt", although the backend will append if not) Function's default is "glimpse_<system_time>.txt" |
Does not return any value, writes to disk rather
## Not run: glimpse_to_file(dataset = mtcars, output_filename = "glimpse_mtcars.txt") glimpse_to_file(dataset = iris, output_filename = "C/Users/Desktop/glimpse_iris.txt") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.