| vectrix_serve | R Documentation |
Launch a REST API server with optional dashboard
vectrix_serve(
path = NULL,
host = "127.0.0.1",
port = 7377,
api_key = NULL,
dashboard = TRUE,
launch.browser = FALSE
)
path |
Database path |
host |
Host address (default: "127.0.0.1") |
port |
Port number (default: 7377) |
api_key |
Optional API key for authentication |
dashboard |
Enable dashboard (default: TRUE) |
launch.browser |
Open dashboard/docs URL in browser (default: FALSE) |
Invisible NULL (server runs until stopped)
## Not run:
vectrix_serve(path = file.path(tempdir(), "my_data"), port = 7377)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.