friction_period: A function to download the friction period over one or...

View source: R/friction_period.R

friction_periodR Documentation

A function to download the friction period over one or multiple years

Description

[Experimental]

Usage

friction_period(year = "all", period = "all", type = "5_year_avg")

Arguments

year

The year of which the friction period should be downloaded, multiple years are possible. The default is the whole data frame

period

The friction period that should be included (days/weeks), default is including the whole dataframe

type

If period is chosen, a decision can be made between the 5 year average and 1 year friction period in days/weeks. The default is the 5 year average

Value

A data frame with friction periods for all years or a selection of years and variables.

Examples

# Example usage of the depreciation_interest function
friction_period(year = 2019, period = "weeks", type = "5_year_avg")

tatooheene documentation built on April 3, 2025, 7:11 p.m.