spod_convert_dates_to_ranges: Convert dates to ranges

View source: R/internal-utils.R

spod_convert_dates_to_rangesR Documentation

Convert dates to ranges

Description

This internal helper function reduces a vector of dates to a vector of date ranges to shorten the warning and error messages that mention the valid date ranges.

Usage

spod_convert_dates_to_ranges(dates)

Arguments

dates

A character vector of dates.

Value

A character vector of date ranges.


spanishoddata documentation built on April 12, 2025, 1:24 a.m.