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


AndySouth/rworldmap documentation built on Sept. 3, 2023, 3:46 a.m.