rwmCheckAndLoadInput: internal function to check and load input data to mapping...

View source: R/rwmCheckAndLoadInput.R

rwmCheckAndLoadInputR Documentation

internal function to check and load input data to mapping functions

Description

Internal function checking and loading dFs or sPDFs to mapCountryData, mapPolys, mapPies, mapBubbles, mapBars.

Usage

rwmCheckAndLoadInput(
  inputData = "",
  inputNeeded = "sPDF",
  callingFunction = ""
)

Arguments

inputData

a dF, sPDF or "", for latter an internal example data is used

inputNeeded

"sPDF", "sPDF or dF", "dF"

callingFunction

optional : name of the calling function

Details

a rworldmap internal function, unlikely to be of use to users

Value

invisibly returns a dF or sPDF

Author(s)

andy south


rworldmap documentation built on Oct. 16, 2023, 5:07 p.m.