check_CPI: Check which jurisdictions are in the Carbon Credits data

View source: R/check_CPI.R

check_CPIR Documentation

Check which jurisdictions are in the Carbon Credits data

Description

Find jurisdictions available in the Carbon Credits data. If a jurisdiction is specified, find the years associated with that jurisdiction.

Usage

check_CPI(jurisdiction = NULL, period = FALSE)

Arguments

jurisdiction

(optional) A character string specifying the jurisdiction to filter the data by.

period

(logical) If TRUE, include the Period column in the output data frame.

Value

A vector or data frame containing the information.

Examples

which_jur <- check_CPI()
which_years <- check_CPI(jurisdiction = "Switzerland")
which_years_and_period <- check_CPI(jurisdiction = "Switzerland", period = TRUE)

lilyclements/caRbon documentation built on April 17, 2025, 6:10 p.m.