Skip to contents

Returns the map registered with register_calendar_map() for the pair, or NULL when none is registered (mirrors geoscales::get_geoscale_map()).

Usage

get_calendar_map(from, to)

Arguments

from, to

Calendar names (meta$name) the map applies to, or Calendar objects (their names are used).

Value

The registered data.frame, or NULL.

Examples

get_calendar_map("m12", "q4")   # NULL unless registered
#> NULL