Description Usage Arguments Value Note Examples
View source: R/load_prepare_data.R
Divide flood shapefile into N smaller parts
1 | divideNChunks(shapefile, shapefile_bounds, region_col_name)
|
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) |
A list
with N smaller shapefiles
Note - For the identification of column name containing region name for region_col_name argument, You should run View(head(shapefile_bounds@data))
1 2 | shapefile_divided <- divideNChunks(shapefile = shapefile,
shapefile_bounds = shapefile_bounds, region_col_name = "NAME")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.