Load information for campsite
load_campsite.Rd
`load_campsite()` load a spatial layer describing campsites. It performs also some transformations.
It categorises elements depending on `category`. It also adds data provided by `campsite` to estimates, for each entity in the campsite layer how much element are present (bare pitch, mobil-home and chalet). This estimation depends on `detail`. If `crs` is provided it changes the crs of the layer accordingly.
Usage
load_campsite(
path,
campsite,
detail = c("uniform", "zonal", "detail"),
crs,
category = floodam.campsite::elementary_category
)
Arguments
- path
character, path to asset layer.
- campsite
data.frame, essential characteristics of campsites.
- detail
character, how detailled are the data provided by the asset layer. See details.
- crs
character, detail level at which analysis is done [TO BE REMOVED].
- category
data.frame, category of elementary components. Default to `floodam.campsite::elementary_category`.