get_fiscal_year: Get Column Key based on the names in a data frame

View source: R/Apply_Lookups.R

get_fiscal_yearR Documentation

Get Column Key based on the names in a data frame

Description

Get Column Key based on the names in a data frame

Usage

get_fiscal_year(x)

Arguments

x

A date.

Details

Converts the date to fiscal year by extracting the date and adding 1 if the month is october or later.

Value

The fiscal year of the date.

Examples


get_fiscal_year(as.Date('2019-12-10'))


CSISdefense/csis360 documentation built on April 29, 2024, 5:30 p.m.