ballpark_last_week: Compare this week's total with last week's

View source: R/write.R

ballpark_last_weekR Documentation

Compare this week's total with last week's

Description

This is to check the ballpark of the imported values is approximately correct should not be used for anything real. If first week of the year, the comparison is with wek 52 of the previous year, regardless of whether week 53 exists. Because it doesn't matter and i can't be bothered.

Usage

ballpark_last_week(df)

Arguments

df

dataframe output of ddv_transform

Value

single value expressed as percentage of previous week's total


majazaloznik/ddvR documentation built on Feb. 13, 2025, 12:32 p.m.