Learn R Programming

sdbuildR (version 2.0.0)

url_to_insightmaker: Extract Insight Maker model from URL

Description

Create XML string from Insight Maker URL. For internal use; use import_insightmaker() to import an Insight Maker model.

Usage

url_to_insightmaker(url, file = NULL)

Value

XML string with Insight Maker model

Arguments

url

String with URL to an Insight Maker model

file

If specified, file path to save Insight Maker model to. If NULL, do not save model.

See Also

import_insightmaker()

Examples

Run this code
url <- "https://insightmaker.com/insight/43tz1nvUgbIiIOGSGtzIzj/Romeo-Juliet"
xml <- url_to_insightmaker(url)

# Save model to file
file <- tempfile(fileext = ".InsightMaker")
xml <- url_to_insightmaker(url, file = file)
file.remove(file)

Run the code above in your browser using DataLab