knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

This code is used to prepare the raw PDS data (expected to be in csv files "./PDS/PDS_full_establishment.csv" "./PDS/PDS_full_building.csv", "./PDS/PDS_full_condition.csv") for use with the Blockbuster2 Deterioration Model.

The data is not supplied with this package.

The following code will create a single component-level table containing deterioration rates, repair costs, and with 'empty' components such as 'no decoration' removed. This object uses the deterioration rates produced after the QA by Roger Thompson and the repair costs from the final PDSP Cost model.

create_PDS(single_table = TRUE, remove_elements = TRUE, add_rates = TRUE, add_costs = TRUE)

The following will produce an object with the data in a more efficient star schemaand without the deterioration rates or costs in readiness for the Blockbuster2 version that enables input from an excel sheet that contains the relevant parameters.

create_PDS()


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