Reads `.rds` or `.csv` files using a path relative to the project root. Optionally converts the result to a tibble when the `tibble` package is available.
read_data(path, as_tibble = TRUE, ...)A data object read from disk, optionally converted to a tibble.
if (FALSE) { # \dontrun{
read_data("data/example.rds")
read_data("data/example.csv", stringsAsFactors = FALSE)
} # }