ona_project_register | R Documentation |
Register a project
ona_project_register(
base_url = "https://api.ona.io",
auth_mode = c("token", "password"),
owner = Sys.getenv("ONA_USERNAME"),
name = NULL,
public = TRUE
)
base_url |
ONA URL. Default is https://api.ona.io. |
auth_mode |
Password or token? Default is token. |
owner |
Username or organisation name creating the project. Default to
username of currently authenticated account
(via |
name |
Name of the project. If NULL (default), project is given a default name similar to that created by ONA for forms published without a project |
public |
Logical. Should the project be public? Default to TRUE. |
Invisible. Project registered and created in ONA account
ona_project_register()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.