The company, Algorithmia, houses the largest marketplace of online algorithms. This package essentially holds a bunch of REST wrappers that make it very easy to call algorithms in the Algorithmia platform and access files and directories in the Algorithmia data API. To learn more about the services they offer and the algorithms in the platform visit < http://algorithmia.com>. More information for developers can be found at < http://developers.algorithmia.com>.
R client library for accessing the Algorithmia API
First make a client object:
client <- getAlgorithmiaClient("ALGORITHMIA_API_KEY")
Then get the algorithm object:
algorithm <- client$algo("algo://AUTHOR/ALGORITHM_NAME/VERSION")
Call pipe passing in the input to the algorithm:
response <- algorithm$pipe(input)
There are two fields in the result. The meta data (which has timing data) and the result.
result <- response$result