Skip to contents

Plot Inflation with Macroeconomic Shocks

Usage

plot_inflation_shocks(
  data,
  date_col = "date",
  val_col = "headline_yoy",
  title = "Nigeria Headline Inflation (Year-on-Year)"
)

Arguments

data

A data frame containing inflation data

date_col

The name of the date column (default: "date")

val_col

The name of the inflation value column (default: "headline_yoy")

title

The plot title