abv_hmrc: Alcohol by Volume calculator for HMRC returns

Description Usage Arguments Value References Examples

View source: R/abv.R

Description

Calculates the alcohol by volume (ABV) given starting and finishing gravities using conversion factors set out in the Beer Duty notices. These were taken from Beer Duty Notice #226 on 22/09/2016. Reference values are expressed in gravity * 1000, to 1 decimal place. For example 1045.6. This function expects gravity to be expressed as 1.0456 but can take values in either format.

Usage

1
abv_hmrc(og, pg, f)

Arguments

og

the starting specific gravity of the wort expressed relative to 1 (eg: 1.034)

pg

the present specific gravity of the wort expressed relative to 1 (eg:1.012)

f

is the factor

Value

alcohol by volume exressed in percentage volume of liquid using calculations specified by HMRC department of the UK Government

References

https://www.gov.uk/government/publications/excise-notice-226-beer-duty/excise-notice-226-beer-duty–2#calculation-of-alcoholic-strength

https://www.gov.uk/government/collections/alcohols-notices Beer Duty notices and other relevant documentation can be found on the HMRC website

Examples

1
2
# calculate alcohol by volume for a wort which ferments from 1034 SG to 1008 SG
abv_hmrc(1.034,1.012)

whanrott/fermentR documentation built on May 4, 2019, 5:22 a.m.