showUsage | R Documentation |
Show application usage of a currently deployed application
showUsage(
appDir = getwd(),
appName = NULL,
account = NULL,
server = NULL,
usageType = "hours",
from = NULL,
until = NULL,
interval = NULL
)
appDir |
Directory containing application. Defaults to current working directory. |
appName |
Name of application |
account , server |
Uniquely identify a remote server with either your
user Use |
usageType |
Use metric to retreive (for example: "hours") |
from |
Date range starting timestamp (Unix timestamp or relative time delta such as "2d" or "3w"). |
until |
Date range ending timestamp (Unix timestamp or relative time delta such as "2d" or "3w"). |
interval |
Summarization interval. Data points at intervals less then this will be grouped. (Relative time delta e.g. "120s" or "1h" or "30d"). |
This function only works for ShinyApps servers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.