Skip to contents

Get last value for the filter

Usage

get_last_value(
  df,
  type_filter = c("reported", "estimated", "projected", "estimated")
)

Arguments

df

(data.frame) containing the data. Needs to have at least the year and type columns.

type_filter

(character vector) vector of types to be filtered for.