algo_call: Call an Algorithmia algorithm

Description Usage Arguments Details References Examples

View source: R/algo.r

Description

For each algorithm on the marketplace, you<e2><80><99>ll find an owner (the user who created the algorithm), an algorithm name, and a version number.

Usage

1
algo_call(algo_obj, owner, name, version = NULL)

Arguments

algo_obj

an algorithmia object

owner

Algorithmia handle of the user who created the algorithm

name

algorithm name

version

algorithm version (optional). When explicitly specifying a version, the following following formats are accepted: Fully specified version (e.g. 1.1.1); Specified to the minor level (e.g. 1.2.*); Specified to a major version (e.g. 1.*)

Details

Specifying a version is recommended, but optional. If not specified, the latest publicly published version will be used.

References

http://docs.algorithmia.com/

Examples

1
2
3
4
library(magrittr)
algo_client() %>%
  algo_call("demo", "Hello", "0.1.1") %>%
  algo_pipe("there", "text")

hrbrmstr/algorithmia documentation built on May 17, 2019, 4:55 p.m.