Skip to contents

Returns the normal_meta dictionary as a tibble so you can inspect available variables and their var_code values before calling sus_climate_normals().

Usage

sus_climate_normals_meta(
  period = NULL,
  lang = "pt",
  cache_dir = "~/.climasus4r_cache/normals",
  use_cache = TRUE,
  verbose = FALSE
)

Arguments

period

Character. Filter to a specific period, or NULL (default) to return the full catalogue.

lang

Character. Language for the returned label column: "pt" (default), "en", "es".

cache_dir

Character. Cache directory. Default: "~/.climasus4r_cache/normals".

use_cache

Logical. Use cached catalogue. Default TRUE.

verbose

Logical. Print messages. Default FALSE.

Value

A tibble with columns var_code, variable_label, period, var_slug, and code_link.

Examples

if (FALSE) { # \dontrun{
sus_climate_normals_meta()
sus_climate_normals_meta(period = "1991-2020", lang = "en")
} # }