Professional Documents
Culture Documents
Shiny App Usage
Shiny App Usage
Tracking in
RStudio Connect
Shiny App Usage Tracking in RStudio Connect
● Example Report
● Example App
● Get Involved
● Questions / Comments
Shiny App Usage Tracking in RStudio Connect
● Example Report
● Example App
● Get Involved
● Questions / Comments
Extending Connect with the Server API
● Cookbook: https://docs.rstudio.com/connect/cookbook/
● R Client: https://pkgs.rstudio.com/connectapi/
● Goal: Anything in UI can be done programmatically via API (not quite there yet)
Extending Connect with the Server API
● How many reports on the server? ● Which jobs have run recently?
● Which users have joined recently? ● How long did the jobs take?
● Which users have access to which ● What jobs are running right now?
reports? ● Completed reports trigger other
● Which reports in which tags? reports (DAG)
● Build custom landing page for ● Build a Connect Server from scratch
content, tags, etc. (connectwidgets)
● Who looked at this report recently?
Extending Connect with the Server API
● How many reports on the server? ● Which jobs have run recently?
● Which users have joined recently? ● How long did the jobs take?
● Which users have access to which ● What jobs are running right now?
reports? ● Completed reports trigger other
● Which reports in which tags? reports (DAG)
● Build custom landing page for ● Build a Connect Server from scratch
content, tags, etc. (connectwidgets)
● Who looked at this report recently?
Shiny App Usage Tracking in RStudio Connect
● Example Report
● Example App
● Get Involved
● Questions / Comments
What is Instrumentation Data?
● Motivating questions:
● We store coarse data when apps / APIs / static content are visited
○ Actual data (i.e. not logs), but not “Google Analytics” type of data
● Example (Shiny):
Shiny App Usage Tracking in RStudio Connect
● Example Report
● Example App
● Get Involved
● Questions / Comments
Example Report
● Run it on a Schedule
● Source Link
● Example Dashboard
Shiny App Usage Tracking in RStudio Connect
● Example Report
● Example App
● Get Involved
● Questions / Comments
Example App
● Interactive Exploration
● Source Link
● Example Dashboard
Shiny App Usage Tracking in RStudio Connect
● Example Report
● Example App
● Get Involved
● Questions / Comments
Get Involved
● Example Report
● Example App
● Get Involved
● Questions / Comments
Questions?
● Anything else?