shiny에서 데이터, 스크립트 사용하기
데이터 읽기 사용할 데이터는 counties.rds로 R에서 사용하는 전용 파일 형식(RDS, R Data Format)이다. 다운로드 하여 census-app\data 폴더를 만들어 저장한다. counties.rds - here counties <- readRDS("census-app/data/counties.rds") head(co...
데이터 읽기 사용할 데이터는 counties.rds로 R에서 사용하는 전용 파일 형식(RDS, R Data Format)이다. 다운로드 하여 census-app\data 폴더를 만들어 저장한다. counties.rds - here counties <- readRDS("census-app/data/counties.rds") head(co...
ui, server 함수로 작성된 코드 library(shiny) library(timevis) ui <- fluidPage( dateRangeInput("range", "", start = Sys.Date(), end = (Sys.Date() + 30)), timevisOutput("this_month"), timevisOutpu...
Basic today <- Sys.Date() first_day_of_month <- today - (as.integer(substr(today, 9, 10)) - 1) c(today, first_day_of_month) ## [1] "2024-06-28" "2024-06-01" today <- as.Date("2024-1...
reactive output을 위한 2단계 진행 반응형 출력(reactive output)을 위해서는 2단계로 진행한다. ui 부분에 object 추가 server function에 ui에 추가된 object가 어떻게 동작할지 구현 UI에 R Object 추가 Output function ...
들어가기 Obsidian과 GitHub를 연동하는 하기 위해 Git 커뮤니티 플러그인을 사용하고자 한다. GitHub Desktop을 이용할 수도 있지만 Obsidian 내에서 처리할 수 있도록 한다. 사전 설치 git - https://git-scm.com/downloads git이 정상적으로 설치되지 않으면 Git 플러그인을 설정할 수 ...