mapReasy-package: Producing Administrative Boundary Map with Additional...

Description Details Author(s) References Examples

Description

Produce administrative map, visualize and compare different factors on administrative map, tracking latitude and longitude, bubble plot.

The package provides some handy functions to produce different administrative maps easily. Functions are included to obtain colorful visualization of different regions of interest or sub-divisional administrative map at different levels. Main objective of the package is to increase feasibility of mapping disease pattern across different regions (disease mapping) with appropriate colors having intensity coherent with magnitude of prevalence (Lawson, 2001; DOI: 10.1002/sim.933).

In many surveys, information on location of sample are collected. Sometimes it is of interest to quick look at the spreadness of the collected sample, check if any observation falls outside of the survey area and identify them. This package provides unique ways to perform these tasks easily. Besides, some additional features are available to make ad-lib comparison of different factors across regions through the maps. Visual presentation of two different variables on a particular map using two way bubble plot is an important feature. Simple bar chart and pie chart can be produced on maps to compare several factors.

Details

Produce country subdivision or administrative division map with colorful indication, partial mapping, tracking latitude and longitude on map, comparing different factors on map, disease mapping and bubble plot.

Author(s)

Mazharul Islam, Jahidur Rahman Khan and Hasinur Rahaman Khan

Maintainer: Hasinur Rahaman Khan <hasinurkhan@gmail.com>

References

www.gadm.org, version 2.8, November 2015.

Pineda, M. C., Lopez-Legentil, S., & Turon, X. (2011). The whereabouts of an ancient wanderer: global phylogeography of the solitary ascidian Styela plicata. PLoS One, 6(9), e25495. DOI: 10.1371/journal.pone.0025495.

Zhao, K., Tung, C. W., Eizenga, G. C., Wright, M. H., Ali, M. L., Price, A. H., ... & McClung, A. M. (2011). Genome-wide association mapping reveals a rich genetic architecture of complex traits in Oryza sativa. Nature communications, 2, 467. doi:10.1038/ncomms1467.

Bivand, R. S., Pebesma, E. J., Gomez-Rubio, V., & Pebesma, E. J. (2008). Applied spatial data analysis with R (Vol. 747248717). New York: Springer.

Lawson, A. B. (2001). Disease map reconstruction. Statistics in medicine, 20(14), 2183-2204.

http://www.caliper.com/Support/answer11.htm

http://www.fao.org/geonetwork/srv/en/metadata.show?id=12691&currTab=simple

http://ungiwg.org/coreDB

Examples

1
2
3
4
5
6
7
8
color10(5)

filePATH <- system.file("Bangladesh", package="mapReasy")
map.country(shapedir= filePATH, shapename="BGD_adm1",boundary.label="NAME_1")

map.country(shapedir= filePATH, shapename="BGD_adm1",boundary.label="NAME_1",
spe.vector=c("Dhaka","Sylhet","Khulna"),col=color10(3))
           

Example output

Loading required package: sp
Loading required package: rgdal
rgdal: version: 1.5-18, (SVN revision 1082)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
Path to GDAL shared files: /usr/share/gdal
GDAL binary built with GEOS: TRUE 
Loaded PROJ runtime: Rel. 6.3.1, February 10th, 2020, [PJ_VERSION: 631]
Path to PROJ shared files: /usr/share/proj
Linking to sp version:1.4-4
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package:HmiscThe following objects are masked frompackage:base:

    format.pval, units

[1] "#E271719F" "#DD5555B5" "#D73838CB" "#D11C1CE1" "#CC0000F7"
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/mapReasy/Bangladesh", layer: "BGD_adm1"
with 7 features
It has 12 fields
Integer64 fields read as strings:  ID_0 ID_1 CCN_1 
Warning message:
use coordinates method 
OGR data source with driver: ESRI Shapefile 
Source: "/usr/lib/R/site-library/mapReasy/Bangladesh", layer: "BGD_adm1"
with 7 features
It has 12 fields
Integer64 fields read as strings:  ID_0 ID_1 CCN_1 
Warning message:
use coordinates method 

mapReasy documentation built on May 1, 2019, 7:59 p.m.