| geomerge.assign {geomerge} | R Documentation |
Implements different assignment rules using SQL [Auxiliary Function]
Description
Implements assignment of polygon values to the target frame using different assignment rules. For efficient performance implemented using SQL.
Usage
geomerge.assign(polygon_input,target,assignment,population.data,optional.inputs,silent)
Arguments
polygon_input |
input |
target |
|
assignment |
identification of either population- or area-weighting assignment rules when handling |
population.data |
specifies data used for weighting if a population-based |
optional.inputs |
Any optional inputs compatible with the |
silent |
Boolean switch to suppress any (non-critical) warnings and messages. Default = FALSE. |
Details
For details on different input parameters, please refer to the detailed documentation in geomerge.
Value
Returns an object of class data.frame that contains the column from input, after proper assignment, that is to be added to target@data.
Author(s)
Karsten Donnay and Andrew M. Linke.
References
Andrew M. Linke, Karsten Donnay. (2017). "Scale Variability Misclassification: The Impact of Spatial Resolution on Effect Estimates in the Geographic Analysis of Foreign Aid and Conflict." Paper presented at the International Studies Association Annual Meeting, February 22-25 2017, Baltimore.
See Also
geomerge-package, geomerge, generateGrid