Function reference
Parallelization core functions
Functions for parallelizing chopin, terra and sf geospatial operations
-
par_cut_coords()
- Partition coordinates into quantile polygons
-
par_def_q()
- Quantile definition
-
par_fallback()
- Parallelization error fallback
-
par_grid()
- Process a given function in the entire or partial computational grids
-
par_group_balanced()
- Generate groups based on balanced clustering
-
par_group_grid()
- Extension of par_group_balanced for padded grids
-
par_hierarchy()
- Process a given function using a hierarchy in input data
-
par_make_grid()
- Generate grid polygons
-
par_make_gridset()
- Get a set of computational grids
-
par_merge_grid()
- Merge adjacent grid polygons with given rules
-
par_multirasters()
- Process a given function over multiple large rasters
chopin calculation functions
Functions for streamlining frequently used operations in exposure assessment
-
extract_at()
- Extract raster values with point buffers or polygons
-
extract_at_buffer()
extract_at_buffer_flat()
extract_at_buffer_kernel()
- Extract summarized values from raster with points and a buffer radius
-
extract_at_poly()
- Extract summarized values from raster with generic polygons
-
summarize_aw()
- Area weighted summary using two polygon sf or SpatVector objects
-
summarize_sedc()
- Calculate Sum of Exponentially Decaying Contributions (SEDC) covariates
-
kernelfunction()
- Kernel functions
-
dep_check()
- Return the package the input object is based on
-
dep_switch()
- Switch spatial data class
Helper functions
Miscellaneous helper functions for subsetting datasets and quick comparison between extents
-
clip_ras_ext()
- Clip input raster with a buffered vector extent.
-
clip_vec_ext()
- Clip to the buffered extent of input vector
-
is_bbox_within_reference()
- Check if the data extent is inside the reference bounding box
-
is_within_ref()
- Check if the boundary of the vector/raster object is inside the reference
-
reproject_b2r()
- Align vector CRS to raster's
-
reproject_std()
- Check coordinate system then reproject
-
vect_valid_repair()
- Validate and repair input vector data
-
any_class_args()
- Detect classes in function arguments
-
datamod()
- Return the input's GIS data model type
-
ext2poly()
- Generate a rectangular polygon from extent
-
get_clip_ext()
- Setting the clipping extent
-
crs_check()
- Check Coordinate Reference System
-
prediction_grid
- Regular grid points in the mainland United States at 1km spatial resolution
-
ncpoints
- Mildly clustered points in North Carolina, United States