Input parameters : Data Type

361
1
09-25-2018 09:17 AM
Jean_ChristopheProst
New Contributor

In Tool Properties, you can define a lot of Data Type for parameters like Text file, folder or others (...), how this kind of values are translated in R.

For example, if the data Type is "text file" with Multiple values, what do I get in R ?

In this example, I want to upload multiple files to complete data form arcgis.

0 Kudos
1 Reply
ShaunWalbridge
Esri Regular Contributor

Jean Christophe,

Sorry for the long delay answering your question -- I missed this earlier. When you send data types containing multiple values to R, you should get back a vector of the values, with the most native data type mapped for each (for example, for files, full strings of the paths for each). You can then loop through these in R as you would with any other vector.

Hope that helps,

Shaun

0 Kudos