Skip to contents

check_fl_area() takes a tidybuilding and a tidydistrict to see if the district's zoning code allows the tidybuilding based on floor area.

Usage

check_fl_area(
  tidybuilding,
  tidydistrict = NULL,
  tidyparcel_dims = NULL,
  zoning_req = NULL
)

Arguments

tidybuilding

A dataframe with fields to represent a building. Created from the function unify_tidybuilding.

tidydistrict

The tidydistrict corresponding to the tidyparcel. A tidydistrict object is one row from a tidyzoning simple features object.

tidyparcel_dims

A tidyparcel object is an simple features object depicting each parcel and its its dimentions.

zoning_req

The data frame result from the get_zoning_req() function. If provided, the tidydistrict and parccel need not be provided.

Value

Returns TRUE, FALSE, or MAYBE stating whether or not the building would be allowed in the district based on floor area.