create_model | R Documentation |
Creates the model in the passed project using the passed list. Fails if a model with the passed name already exists.
create_model(zoltar_connection, project_url, model_config)
zoltar_connection |
A |
project_url |
url of a project in zoltar_connection's projects. this is the project the new model will be created in |
model_config |
A |
model_url of the newly-created model
## Not run:
new_model_url <- create_model(conn, "https://www.zoltardata.com/api/project/9/",
jsonlite::read_json("example-model-config.json"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.