Provides a consistent interface for constructing commonly used spatial covariates from polygon data. Computes polygon areas, distances to reference features, point and line intersection counts, line lengths within polygons, polygon overlap areas and shares, and raster zonal summaries. Handles coordinate reference system validation, geometry repair, unit conversion, row preservation, and standardised missing value semantics while relying on established spatial libraries for the underlying geometry operations.
| Version: | 0.1.0 |
| Imports: | exactextractr (≥ 0.9.0), sf (≥ 1.0.0), terra, units |
| Suggests: | covr, knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2026-09-08 |
| DOI: | 10.32614/CRAN.package.spatcovar (may not be active yet) |
| Author: | Emre Cebeci [aut, cre] |
| Maintainer: | Emre Cebeci <cebeciemre1 at gmail.com> |
| BugReports: | https://github.com/emre-cebeci/spatcovar/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/emre-cebeci/spatcovar |
| NeedsCompilation: | no |
| Citation: | spatcovar citation info |
| Materials: | README, NEWS |
| CRAN checks: | spatcovar results |
| Reference manual: | spatcovar.html , spatcovar.pdf |
| Vignettes: |
Constructing Spatial Covariates with spatcovar (source, R code) |
| Package source: | spatcovar_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: spatcovar_0.1.0.zip, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): spatcovar_0.1.0.tgz, r-oldrel (x86_64): spatcovar_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=spatcovar to link to this page.