prepare_input_time_series_anc: Prepare data for ANC input time series plots

prepare_input_time_series_ancR Documentation

Prepare data for ANC input time series plots

Description

Take uploaded ANC and shape file paths or objects and format as data which can be used to draw input time series graphs.

Usage

prepare_input_time_series_anc(anc, shape)

Arguments

anc

Path to file containing ANC data or ANC data object

shape

Path to file containing geojson areas data or shape sf object

Value

Data formatted for plotting input ANC time series containing columns area_id, area_name, area_level, area_level_label, parent_area_id, area_sort_order, time_period, year, quarter, calendar_quarter, area_hierarchy, plot, value and missing_ids


mrc-ide/naomi documentation built on April 10, 2024, 2:13 p.m.