slide_dates_in_polygon: Extracts the days of the slides for each polygon

Description Usage Arguments Value

View source: R/slide_dates_in_polygon.R

Description

For each Polygon this function selects only the polygons that experienced a landsld. It also reports (in the column slide_per_poly_date) the number of slides on that date in that polygon.shapefile

Usage

1
slide_dates_in_polygon(poly = NULL, landsld = NULL, epsg = 32632)

Arguments

poly

Path to the polygon shapefile

landsld

Path to the landsld shapefile or object of class sf. Needs to have at least a column called date_info (as in the classic iffi-data from the iffitoR-package) or column called date with dates of class date. If both do not exist, the first column with the class date will be used to subset only the landslides with day-precise information

Value

An object of class sf which is (probably) of geometry-type polygon with the additional columns.


RobinKohrs/rainfallR documentation built on Oct. 3, 2021, 1:42 a.m.