Reads a file that write_profile() wrote. The function decodes each value
by its field name and by the type of its column.
See also
Other profile functions:
profile_data(),
profile_query(),
profile_table(),
write_profile()
Examples
d <- data.frame(day = as.Date("2024-01-01") + rep(0:1, each = 6))
p <- profile_data(d, c(day = "DATE"), columns = c(day = "full"))
f <- write_profile(p, tempfile(fileext = ".yaml"))
identical(read_profile(f), p)
#> [1] TRUE
