The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"RM cloud dropbox connnect and loop files"
IljaDeCoster
Member Posts: 7 Contributor II
Hi all,
I have some processes using a loop_files operator that work fine localy using the Studio.
I'm now moving the to the RM Cloud, connected to a dropbox account.
How do I combine the read dropbox operatior with the loop files (where in I have a read csv)?
Thanks!
Ilja
I have some processes using a loop_files operator that work fine localy using the Studio.
I'm now moving the to the RM Cloud, connected to a dropbox account.
How do I combine the read dropbox operatior with the loop files (where in I have a read csv)?
Thanks!
Ilja
Tagged:
0
Answers
I'm not sure they currently can work together in the current form, there would need to be a 'loop dropbox files' operator written.
However, all is not lost!
DropBox has a REST API which means can use the GetPage operator to download a list of the files in the directory you are targeting and then use LoopExamples or LoopValues with the ReadDropBox operator inside the nest and provide it the filename of each example as a Macro.
Sorry I'm not able to provide a sample process for using GetPage in this way, but DropBox.com is blocked where I am. Hopefully you can understand the basics from the below.
I'll have a look at it soon.
I'll keep you posted ;-)
Greetings,
Ilja
Thanks for the input again.
It seems indeed that this way it would be possible to solve my problem. It did some initial trail. But... Some issues with finding the right api urls
As I'm not a programmer (I use RapidMiner as it is code free :-) - I do have my very limits in coding and finding my way in the dropobx api documentation.
I'll play a little more, but can't put too mush time in it.
So I would realy suggest my friends as RapidMiner to add a code free operator to do loop_files with the dropobox connector :-)
Greetings
Ilja
I used to use Twitter connections a lot (before there was the code-free option) and I'm pretty sure this should be similar.
That would be really helpful if you would like to do this.
The dropbox api documentation is at: https://www.dropbox.com/developers/core
Apart for that to use the dropbox api you need an acces token made by Oauth. Seems easy to do if I read, but I never did that before and it may take some time.
https://www.dropbox.com/developers/reference/oauthguide
By the way: I now did find a code-free variant. Instead of using csv in my dropbox with a loop_files, I now push those csv's into the repository as datasets and then use loop_repository.
It works for what I'm doing now, but I'll need the dropbox solution as it have more possibilities.
Thanks again for you help.
Ilja