Geospatial Data Integration

Geospatial data integration framework that merges raster, spatial polygon, and (dynamic) spatial points data into a spatial (panel) data frame at any geographical resolution.


geomerge is a flexible framework for geospatial data integration that merges raster, spatial polygon, and (dynamic) spatial points data into a spatial (panel) data frame at any geographical resolution.

Installation

CRAN Downloads

The package can be installed through the CRAN repository.

install.packages("geomerge")

Or the development version from Github

# install.packages("devtools")
devtools::install_github("css-konstanz/geomerge")

Usage

The following simple illustrations use a number of datasets for Nigeria in 2011 that are included with the package. A more extensive user guide will be added shortly.

data(geomerge)
 
# 1) Simple static integration of polygon data
output <- geomerge(geoEPR,target=counties,silent=TRUE)
summary (output)
 
# 2) Static integration for point, polygon, raster data
ACLED.events <- ACLED[,names(ACLED)%in%c('EVENT_TYPE')]
AidData.projects <- AidData[,names(AidData)%in%c('project_id')]
output <- geomerge(ACLED.events,AidData.projects,geoEPR,gpw,na.rm=TRUE,target=counties)
summary(output)
plot(output)
 
# 3) Dynamic point data integration for numeric variables
ACLED.fatalities <- ACLED[,names(ACLED)%in%c('timestamp','FATALITIES')]
AidData.commitment <- AidData[,names(AidData)%in%c('timestamp','commitme_1')]
output <- geomerge(ACLED.fatalities,AidData.commitment,geoEPR,target=counties,time=c("2011-01-01", "2011-12-31","1"),t_unit='months',point.agg='sum')
summary(output)
plot(output)
 
# 4) Population weighted assignment
output <- geomerge(geoEPR,target=counties,assignment='max(pop)',population.data = gpw)
summary(output)
plot(output)
 

Meta

News

// // geomerge - Updates and Bug Fixes // // //

== 0.3.1 (31 Jul 2018) ==

  • new flexible logic for handling arguments based on "$" variable notation
  • corrected variable checks to remove a number of spurious warning messages
  • various small updates and bug fixes

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("geomerge")

0.3.1 by Karsten Donnay, 8 months ago


Browse source code at https://github.com/cran/geomerge


Authors: Karsten Donnay and Andrew M. Linke


Documentation:   PDF Manual  


LGPL-3 license


Imports inlmisc, raster, spdep, sp, geosphere, lubridate, methods, stats, ggplot2, gridExtra, scales


See at CRAN