hfr_extract_meta: Extract Meta Data Information about Template

View source: R/utilities.R

hfr_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

hfr_extract_meta(filepath, meta_type = "type")

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"
  hfr_extract_meta(filepath, meta_type = "type")
#identify period
  hfr_extract_meta(filepath, meta_type = "period")
#identify OU
  hfr_extract_meta(filepath, meta_type = "ou") 
## End(Not run)

USAID-OHA-SI/Wavelength documentation built on March 24, 2023, 10:07 a.m.