Skip to contents

The function 'extract_dwelling' extracts polygons corresponding to dwellings from an sf object that should come from 'extract_building' use.

Usage

extract_dwelling(
  origin,
  destination,
  archive,
  journal = TRUE,
  map = TRUE,
  department = NULL,
  retrieve = FALSE,
  verbose = TRUE
)

Arguments

origin

character, path to the directory where archive are stored.

destination

character, path to the directory where results should be saved.

archive

character, vector of archive to be adpated.

journal

logical, should a journal file be saved.

map

logical, should a map be plotted (for check purpose).

department

character, vector of department that should be treated

retrieve

logical, should the result be returned.

verbose

logical, should the function give some sumup informations.

Value

if retrieve = TRUE, data.frame of adapated data stored in archive.

Author

Frédéric Grelot