## lsd objects

deb_lsd() deb_as_lsd() print(<lsd>)

A class for pounds, shillings and pence values

deb_is_lsd()

Test if an object is of class lsd

deb_bases()

Find the bases of lsd objects

deb_replace_null()

Replace NULL elements in an lsd object

debkeepr

debkeepr: Analysis of Non-Decimal Currencies and Double-Entry Bookkeeping

## Normalization

deb_normalize()

Normalize pounds, shillings, and pence

## Arithmetic

deb_multiply()

Multiplication of pounds, shillings, and pence

deb_divide()

Division of pounds, shillings, and pence

deb_sum()

Sum of pounds, shillings, and pence values

deb_add()

Addition of two pounds, shillings, and pence values

deb_subtract()

Subtraction of two pounds, shillings, and pence values

## Financial

deb_interest()

Interest of pounds, shillings, and pence values

deb_exchange()

Exchange between pounds, shillings and pence currencies

deb_exchange_rate()

Exchange rate between pounds, shillings, and pence currencies

deb_invert_rate()

Calculate the inverse of an exchange rate

deb_convert_bases()

Convert between different bases for shillings and pence units

## Decimalization

deb_lsd_l()

Conversion of pounds, shillings and pence to pounds

deb_l_lsd()

Conversion of decimalized pounds to pounds, shillings, and pence

deb_lsd_s()

Conversion of pounds, shillings and pence to shillings

deb_s_lsd()

Conversion of decimalized shillings to pounds, shillings, and pence

deb_lsd_d()

Conversion of pounds, shillings, and pence to pence

deb_d_lsd()

Conversion of decimalized pence to pounds, shillings, and pence

## lsd list column

deb_lsd_gather()

Create an lsd list column

deb_lsd_spread()

Create separate pounds, shillings, and pence columns

deb_summarise()

Sum of pounds, shillings, and pence in an lsd list column

## Transaction data frames

deb_account()

Calculate credit, debit, and current value of an account

deb_account_summary()

Calculate credit, debit, and current values of accounts

deb_credit()

Calculate the total credit of accounts

deb_debit()

Calculate the total debit of accounts

deb_current()

Calculate the current values of accounts

deb_open()

Calculate the current values of open accounts

deb_balance()

Calculate the balance of a transactions data frame

## Data

dafforne_accounts

Accounts from the example journal and ledger of Richard Dafforne

dafforne_transactions

Transactions from the example journal and ledger of Richard Dafforne