Methods for 'dplyr' verbs for 'sp' 'Spatial' classes. The basic verbs that modify data attributes, remove or re-arrange rows are supported and provide complete 'Spatial' analogues of the input data. The group by and summarize work flow returns a non-topological spatial union. There is limited support for joins, with left and inner to copy attributes from another table.
spdplyr provides methods for the dplyr verbs for the Spatial
classes in the sp package.
Install from CRAN:
install.packages("spdplyr")
The development version of spdplyr can be installed directly from
Github:
devtools::install_github("mdsumner/spdplyr")
Apply dplyr verbs to the attribute data of sp objects with dplyr
verbs.
See ?dplyr-Spatial for supported verbs.