format_element: Corrects certain data types in preparation for the areafy...

Description Usage Arguments Value

Description

This function needs to be called before areafy. It corrects some data types so areafy can correctly quantify some components. It removes the extraneous space from the "D" grade entries. It changes the 'Swimming.Pool' from a yes no to a 0 or 1. It formats the 'No.of.Lifts' column to be numeric.

Usage

1
format_element(element_data)

Arguments

element_data

Value

The input with re-formatted columns.


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