package carbon

  1. Overview
  2. Docs
type t

A value returned from the API for intensity data.

val intensity : t -> int

The CO2-eq intensity (gCO2-eq/kWh)

val zone : t -> Zone.t

The zone code for the data

val datetime : t -> string

The datetime for the value.

val pp : t Fmt.t

A pretty printer for intensity values.

OCaml

Innovation. Community. Security.