append_repair_costs: Add repair costs to element data

Description Usage Arguments Value

Description

Joins the element data with the repair rates and adds columns called \*.repair.cost and \*.repair.total that specify the unit repair costs and the element specific repair totals

Usage

1
2
append_repair_costs(element_data,
  repair_costs = "./data_ext/parameter.table.rda")

Arguments

element_data

A dataframe containing a elementid column

deterioration_rates

Either a character string containing the path to a dataframe, or a dataframe containing elementid, B, C, D and E columns that specify the repair rates for each element type.

Value

A data frame with appropriately appended columns giving unit repair costs and element specific repair costs.


DFE-Capital/Blockbuster2DataPrep documentation built on May 12, 2019, 5:41 a.m.