Description Usage Arguments Details Value Author(s) See Also Examples
Function to interactively choose an identifier for mapping between datases in the validation database and functions of the magpie library
1 | .chooseIdentifier(func,...,ignore.args=NULL,choose.args=NULL)
|
func |
Name of the magpie library function that this data belongs to. |
... |
Values for arguments that func takes. If an argument is not specified the default value are used. The two arguments "file" and "level" can be omitted without causing problems. |
ignore.args |
A vector of strings, specifying arguments for which it does not matter what value they have. |
choose.args |
A vector of strings. A call of |
The function checks if an identifier for func(...)
already exists. If not, it is checked whether similar identifiers exist and the user is asked if one of those should be used.
A string with the chosen identifier.
Markus Bonsch
validationPlot
,getData
,.loadData
,addData
,add_aggrType
,show_aggrTypes
,.chooseCollection
,addMapping
1 | ## Not run: test<-.chooseIdentifier(func=land,types="crop",sum=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.