Skip to contents

For each of the annual, quarterly, and monthly datasets, adds the last period a provider appears in (*_last_reported, NA if never) and the latest period in the whole dataset (*_latest_period).

Usage

add_provider_reporting(
  providers,
  measures_annual,
  measures_quarterly,
  measures_monthly
)

Arguments

providers

Tibble, providers with an org_code column

measures_annual

Tibble, as returned by get_measures_annual()

measures_quarterly

Tibble, as returned by get_measures_quarterly()

measures_monthly

Tibble, as returned by get_measures_monthly()

Value

providers with six added columns

Details

Developer tool, run as part of build_metadata_providers().