Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
@@ -4,7 +4,6 @@ library(shinythemes)
|
|
4 |
library(shinydisconnect)
|
5 |
library(shinycssloaders)
|
6 |
library(shinyWidgets)
|
7 |
-
library(shiny.telemetry)
|
8 |
library(spotifyr)
|
9 |
library(SpotifyNetwork)
|
10 |
library(spsComps)
|
@@ -35,9 +34,6 @@ my_theme <- bs_theme(
|
|
35 |
"navbar-bg" = "#16F529"
|
36 |
)
|
37 |
|
38 |
-
# initialize telemetry
|
39 |
-
telemetry <- Telemetry$new()
|
40 |
-
|
41 |
|
42 |
# define UI for application that gets Spotify network data
|
43 |
ui <- navbarPage(
|
@@ -199,9 +195,7 @@ ui <- navbarPage(
|
|
199 |
|
200 |
# define server logic required to get Spotify's network data
|
201 |
server <- function(input, output, session) {
|
202 |
-
|
203 |
-
telemetry$start_session()
|
204 |
-
|
205 |
# set up Spotify API credentials environment
|
206 |
authentication <- function(id, secret) {
|
207 |
client_ID <- id
|
|
|
4 |
library(shinydisconnect)
|
5 |
library(shinycssloaders)
|
6 |
library(shinyWidgets)
|
|
|
7 |
library(spotifyr)
|
8 |
library(SpotifyNetwork)
|
9 |
library(spsComps)
|
|
|
34 |
"navbar-bg" = "#16F529"
|
35 |
)
|
36 |
|
|
|
|
|
|
|
37 |
|
38 |
# define UI for application that gets Spotify network data
|
39 |
ui <- navbarPage(
|
|
|
195 |
|
196 |
# define server logic required to get Spotify's network data
|
197 |
server <- function(input, output, session) {
|
198 |
+
|
|
|
|
|
199 |
# set up Spotify API credentials environment
|
200 |
authentication <- function(id, secret) {
|
201 |
client_ID <- id
|