ppm_from_date: Get the CO2 ppm value closest to a given date

Description Usage Arguments Value References Examples

View source: R/ppm_from_date.R

Description

Given a date, retrieves the atmospheric CO2 concentration value the closest to that date, using the data from the Mauna Loa observatory

Usage

1

Arguments

date

A character string of the format "yyyy-mm-dd"

Value

A floating point value, the closest data point to the input date

References

NOAA's Global Monitoring Laboratory data hub.

Examples

1
ppm_from_date("1978-06-05")

VLucet/carbon documentation built on Dec. 18, 2021, 6:13 p.m.