divideNChunks: Divide flood shapefile into N smaller parts

Description Usage Arguments Value Note Examples

View source: R/load_prepare_data.R

Description

Divide flood shapefile into N smaller parts

Usage

1

Arguments

shapefile

Flood shapefile from loadPrepareShpFile function

shapefile_bounds

Shapefile containing teritorial division (i.e. administrative)

region_col_name

Name of column containing region name from shapefileBounds to check which column contains information about name of region)

Value

A list with N smaller shapefiles

Note

Note - For the identification of column name containing region name for region_col_name argument, You should run View(head(shapefile_bounds@data))

Examples

1
2
shapefile_divided <- divideNChunks(shapefile = shapefile,
shapefile_bounds = shapefile_bounds, region_col_name = "NAME")

mur4mat/floodshp documentation built on Dec. 16, 2019, 12:37 a.m.