inst/scripts/make-metadata.R

base::dir(path = "inst/extdata", pattern = "[0-9]+", full.names = TRUE) |>
    purrr::map_dfr(~ readr::read_csv(.x, col_types = "ccccccccclcccccc")) |>
    readr::write_csv("inst/extdata/metadata.csv")
waldronlab/curatedMetagenomicData documentation built on Nov. 4, 2024, 7:57 a.m.