azuremlService: Make a POST request to AzureML service and parse the reponse

Description Usage Arguments Value Examples

Description

Make a POST request to AzureML service and parse the reponse

Usage

1
2
azuremlService(datasets, url = NULL, region = "ussouthcentral",
  workspace = NULL, service = NULL, auth = NULL, details = TRUE)

Arguments

datasets

A named list of data frames to send to the web service. The names must match the names of the web inputs in Azure, eg. list(WebInput = data.frame(x=1, y=2))

url

If you supply the full URL then other options are not required

region

The Azure region, such as ussouthcentral, europewest

workspace

The workspace ID

service

The service ID

auth

Authentication token. Careful not to save this anywhere and check your .Rhistory

details

Logical. If FALSE then column types are omitted from the response

Value

An httr response object

Examples

1
2
3
4
5
6
7
8
## Not run: 
azuremlService(list(WebInput = data.frame(x=1:5, y=LETTERS[1:5])),
               region = "ussouthcentral",
               workspace = "8550bbba99572fc47e18e5fdd53e43e2",
               service = "4e7ebd7ad816cd9dd1cb1b17c4cdb0c7",
               auth = "xxxxxxxxxxxx==")

## End(Not run)

MangoTheCat/azuremlweb documentation built on May 8, 2019, 4:37 p.m.