forked from ropensci-archive/convertr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
convertr.R
28 lines (27 loc) · 913 Bytes
/
convertr.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#' convertr
#'
#' @name convertr
#' @docType package
#'
NULL
#' Conversion rates for various units, mostly derived fromfrom the POSC Units
#' of Measure #' Dictionary v2.2
#'
#' The conversion factor is broken into four componts: A, B, C, and D. Units are
#' converted from the origin unit (X) to the respective SI base unit (BU)
#' using the following formula:
#' \deqn{BU = (A + B*X) / (C + B * X)}
#'
#' @format A data frame with 1283 rows and 9 variables:
#' \itemize{
#' \item name: name of the origin unit
#' \item quantity_type: descriptiong of what the unit is used to measure
#' \item catalog_name: origin of unit specification
#' \item catelog_symbol: symbol for the unit
#' \item base_unit: equivalent System Internationale (SI) base unit
#' \item a: conversion factor
#' \item b: conversion factor
#' \item c: conversion factor
#' \item d: conversion factor
#' }
"conversion_table"