get_areas: Make area dataframes

View source: R/prepare_inputs.R

get_areasR Documentation

Make area dataframes

Description

Create area hierarchy dataframes in the Naomi package format. The function will always return the area hierarchy in long format, with arguments additionally to return full and wide hierarchies

Usage

get_areas(iso3_current, naomi_data_path, full = FALSE, wide = TRUE)

Arguments

iso3_current

A string of one or more ISO-3 codes

naomi_data_path

A path to directory containing input data files

full

Boolean to return the full area heirarchy

wide

Boolean to return the area hierarchy in wide format


osymandius/dfertility documentation built on Jan. 28, 2024, 4:18 a.m.