inst/scripts/make-metadata.R

df_all_casestudies <- read.csv("inst/extdata/metadata-casestudies.csv")

df_all_sims <- read.csv("inst/extdata/metadata-sims.csv")

## Combined meta-data
df_all <- base::rbind(
  df_all_casestudies,
  df_all_sims
)

write.csv(file = "inst/extdata/metadata.csv",
          df_all, row.names = FALSE)


#### validated with `ExperimentHubData::makeExperimentHubMetadata()`
## ExperimentHubData::makeExperimentHubMetadata(
##     pathToPackage = <my_path>,
##    fileName = "metadata.csv")
stephaniehicks/benchmarkfdrData2019 documentation built on June 20, 2021, 10 a.m.