Skip to contents

A list containing data values for converting between different units of measurement.

Usage

unit_constants

Format

A string list with 5 entries.

kcal_to_mj

The value 0.0041858, representing the conversion factor between kilocalories (kcal) and megajoules (MJ).

hours_to_seconds

The value 3600, representing the conversion factor between hours and seconds.

joules_to_megajoules

The value 0.000001, representing the conversion factor from joules (J) and megajoules (MJ).

EJ_to_ktoe

The value 23884.58966275, representing the conversion factor from exajoules (EJ) to kilotonnes of oil equivalent (ktoe).

EJ_to_TJ

The value 1e6, representing the conversion factor from exajoules (EJ) to terajoules (TJ).

Examples

unit_constants
#> $kcal_to_mj
#> [1] 0.0041858
#> 
#> $hours_to_seconds
#> [1] 3600
#> 
#> $joules_to_megajoules
#> [1] 1e-06
#> 
#> $EJ_to_ktoe
#> [1] 23884.59
#> 
#> $EJ_to_TJ
#> [1] 1e+06
#>