Skip to contents

Retrieves all filenames associated with a specific population.

Usage

get_population_filenames(root_dir, population_name)

Arguments

root_dir

A character string which specifies the root directory of the project.

population_name

A character string which specifies the name of the population directory.

Value

A character vector of filenames associated with the specified population.

Examples

root_dir <- system.file("extdata", "example-nl", "Reference_Data", package = "hiaR")
get_population_filenames(root_dir, "Netherlands")
#> D:/a/_temp/Library/hiaR/extdata/example-nl/Reference_Data/Populations/Netherlands
#> ├── newborns.xml
#> ├── overalldisability.xml
#> ├── overallmortality.xml
#> └── size.xml