cir_extract_meta: Extract Meta Data Information about Template

cir_extract_metaR Documentation

Extract Meta Data Information about Template

Description

Useful for pulling information about the template, whether It be the Operating Unit (OU), Period, template version, or type, eg wide or long.

Usage

cir_extract_meta(filepath, meta_type = NULL)

Arguments

filepath

filepath to sumbitted template

meta_type

type of meta data requesting: ou, period, version, type (default)

Examples

## Not run: 
#identify whether template is long or wide
  filepath <- "~/WeeklyData/Raw/KEN_Weekly.xlsx"
  cir_extract_meta(filepath, meta_type = "type")
#identify period
  cir_extract_meta(filepath, meta_type = "period")
#identify OU
  cir_extract_meta(filepath, meta_type = "ou") 
## End(Not run)

USAID-OHA-SI/Interesting documentation built on Jan. 26, 2023, 5:57 p.m.