Skip to contents

`treat_guideline()` makes operations on `guideline` in order to create a weight file It calls `load_typology()` and `make_weight()`.

Usage

treat_guideline(
  guideline,
  input,
  output,
  trim = 0,
  classification = classification,
  extent = extent,
  path = path
)

Arguments

guideline

data.frame of 1 observation of 4 variables.

input

list of paths to folders where to find correspondance files and statistical data to be used to make weights.

output

character giving the path to output directory.

trim

integer, argument to be passed in `make_weight()`, default to 0.

classification

character giving the name of classification to read in order to keep treated guidelines coherent.

extent

character giving the name of the extent to be treated.

path

list of useful paths.