grattan (version 2024.1.1)

age_pension_age: Age of eligibility for the Age Pension

Description

Age of eligibility for the Age Pension

Usage

age_pension_age(when = Sys.Date(), sex = "male")

Value

A numeric vector, the age of eligiblity for the Age Pension for each when.

Arguments

when

Either a Date (or a character vector coercible to such) or a financial year, when the age of eligibility of Age Pension is requested. Defaults to current date.

sex

A character vector the same length as when, containing strings "male" and "female ". May be abbreviated to "m" or "f" and is case-insensitive.

Examples

Run this code
age_pension_age()  # Current age of eligiblity
age_pension_age("1995-12-31")
age_pension_age("2013-14")

Run the code above in your browser using DataLab