getPeriodInfo: Get Period Info

View source: R/getPeriodInfo.R

getPeriodInfoR Documentation

Get Period Info

Description

Get information like start date, end date and period type from an ISO period string

Usage

getPeriodInfo(
  ISO = NA,
  d2session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

ISO

Formatted string such as 2016Q1. Refer to DHIS2 documentation for details.

d2session

DHIS2 Session id

Value

Returns a data frame of ISO, startDate, endDate,and periodtype.


pepfar-datim/datim-validation documentation built on Oct. 17, 2024, 3:45 p.m.