algo_pipe: Execute an Algorithmia algorithm call

Description Usage Arguments References Examples

View source: R/algo.r

Description

Execute an Algorithmia algorithm call

Usage

1
algo_pipe(algo_obj, input, content_type = c("text", "json"))

Arguments

algo_obj

an algorithmia object

input

data to feed to the API call

content_type

specify encoding

References

http://docs.algorithmia.com/

Examples

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

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