getPI: Get PI data results

Description Usage Examples

Description

This function will post the data from R into PI as JSON format and store it back to R. User will have the capability of encrypting with server (which it is not default). This would have to be enable since the script is configured to be run with Node.js locally.

Usage

1
getPI(url, x, dump, ssl = FALSE)

Examples

1
2
new.x1 <- getPI(url="http://www.example.com", x=data$field, dump=NULL) # store results into new var x2
new.x2 <- getPI(url="https://www.example.com", x=data$field, dump=NULL, ssl=TRUE) # store results into new var x2, but information is encrypted with server

blacknred0/rWatsonPI documentation built on May 12, 2019, 9:29 p.m.