I miss a way to add data to an SO answer in a transparent manner. My experience is that the structure
object from dput()
at times confuses inexperi
There is also the read.so package, which I really like, in particular to read SO data. It works for tibbles as well.
#devtools::install_github("alistaire47/read.so")
Df <- data.frame(A = c(2, 2, 2, 6, 7, 8),
B = c("A", "G", "N", NA, "L", "L"),
C = c(1L, 3L, 5L, NA, NA, NA))
read.so::write.so(Df)
#> Df <- data.frame(
#> A = c(2, 2, 2, 6, 7, 8),
#> B = c("A", "G", "N", NA, "L", "L"),
#> C = c(1L, 3L, 5L, NA, NA, NA)
#> )