ConvertPdsToBlock: Convert blockbuster_pds_data sample into block level wide...

Description Usage Arguments Details Value Examples

Description

Provide a block-level summary of an element-level data frame. Repair costs at each grade are summed and the cost-effectiveness ratio (repair/rebuild) is computed.

Usage

1
ConvertPdsToBlock(pds, block.rebuild.cost)

Arguments

pds

A data frame containing the element-level data.

block.rebuild.cost

The unit cost to rebuild 1 sq.m.

Details

block.rebuild.cost is used to compute the estimated cost of rebuilding. The formula used is block.rebuild.cost x gifa (Gross Internal Floor Area).

Value

A block level wide format table for use with blockbuster v2

Examples

1
2
3
# Summarise the element-level PDS.data at block level with a £5,000 unit
# rebuild cost.
blockbuster2:::ConvertPdsToBlock(simulated_elements, 5000)

DFE-Capital/blockbuster2 documentation built on May 4, 2019, 1:08 p.m.