glimpse_to_file {dataframeexplorer} | R Documentation |
Generate glimpse of dataset
Description
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.
Usage
glimpse_to_file(dataset, output_filename = "")
Arguments
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" |
Value
Does not return any value, writes to disk rather
Examples
## 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)
[Package dataframeexplorer version 1.0.2 Index]