Session_Info generator
I am loving the dataspice package, the one thing that is missing is a way to generate a sessionInfo() metadata generator. For now I am transforming the session info into a couple of data frames, (one for packages and one for OS) and add it as two new datasets. It would be awesome to have it as a separate part of the metadata and of the website
Cheers
Derek
Hi @derek-corcoran-barrios, thanks for the fantastic idea. Having session info in the web page and/or the metadata sounds like a pretty useful addition. Do you have a link to any examples of what you've already done? It might provide some nice context around your use case.
Hey @amoeba I will clone this repo and take a crack at it, if you think it would help
Hello again @amoeba , this is the way I am currently doing it, which is not the most elegant, but might help getting the conversation started, I generate 2 different dataframes, and then export them as a csv:
Session <- devtools::session_info()
## Write the platform info
platform <- data.frame(Setting = names(Session$platform)[-1], value = as.character(unlist(Session$platform[2:length(Session$platform)])))
## And the packages info
Packages <- as.data.frame(Session$packages)
## Export as csvs
write_csv(platform, "platform.csv")
write_csv(Packages, "Packages.csv")
Then I used those csv as a regular dataset for the data spice
Hey @amoeba, I noticed you added this for the version 1.1 version, I think I am really going to use this package a lot. If you need help developing this package I would be happy to help