Description Usage Arguments Details Value Author(s) Examples
db_summary
write the summary of databases, founded inside a provided
folder, into a file.
1 | db_summarize(path_data, filename = "summary-databases.txt")
|
path_data |
The path where to look for .Rdata files. |
filename |
File name where to write the summary. |
When the filename is not specified, db_summary
will create the file
"summary-databases.txt".
A character indicating the folder path.
Erick Albacharro Chacon-Montalvan
1 2 3 4 5 6 7 8 9 10 | # Create a path with datasets to apply our function
data_path <- tempdir()
save(iris, file = file.path(data_path, "iris.RData"))
save(airquality, file = file.path(data_path, "airquality.RData"))
# Obtain the summary of all datasets included in an specific path
db_summarize(data_path, filename = file.path(data_path, "summary.txt"))
# Print the summary
readLines(file.path(data_path, "summary.txt"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.