소스 검색

Remove NA shows only if they exist\n\nIn previous versions of the db, some shows had no title. This is not the case anymore, and all shows were removed as a consequence.

master
Maxime Wack 2 년 전
부모
커밋
64bd009271
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      app.R

+ 2
- 1
app.R 파일 보기

@@ -11,7 +11,8 @@ imdb %>%
shows$id %>%
setNames(shows$title) -> shows

shows <- shows[- (names(shows) %>% is.na %>% which)]
if (shows %>% names %>% is.na %>% which %>% length > 0)
shows <- shows[- (names(shows) %>% is.na %>% which)]

ui <- fluidPage(
inputPanel(width = "20%", height = "100%",


불러오는 중...
취소
저장