This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
bootcmd: | |
- mkdir -p /etc/systemd/system/walinuxagent.service.d | |
- echo "[Unit]\nAfter=cloud-final.service" > /etc/systemd/system/walinuxagent.service.d/override.conf | |
- sed "s/After=multi-user.target//g" /lib/systemd/system/cloud-final.service > /etc/systemd/system/cloud-final.service | |
- systemctl daemon-reload | |
apt: | |
sources: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(curl) | |
library(httr) | |
library(dplyr) | |
library(purrr) | |
library(tictoc) | |
tar <- "http://work-sample-tests.stibee.com:7777" | |
tem <- modify_url(tar, path = "hello") | |
POST(tem, body = list(id = "mrchypark@gmail.com")) %>% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar %>% | |
mutate(speech_id = 1:nrow(.)) %>% | |
unnest_tokens(senten, content, | |
token="sentences") %>% | |
select(speech_id, senten) %>% | |
mutate(sentence_id = 1:nrow(.)) %>% | |
unnest_tokens(morph, senten, | |
token = pos) %>% | |
filter(str_detect(morph, "/n|/v(v|a)")) %>% | |
mutate( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(readxl) | |
library(dplyr) | |
library(tidyr) | |
library(stringr) | |
tem <- read_excel("myCabinetExcelData (2).xls", col_names = F) | |
tem %>% | |
distinct(...1) %>% | |
pull(...1) -> col_order | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(rvest) | |
library(dplyr) | |
library(magrittr) | |
library(stringr) | |
library(jsonlite) | |
library(purrr) | |
library(tibble) | |
library(openssl) | |
library(crul) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(rvest) | |
library(writexl) | |
library(dplyr) | |
library(stringr) | |
body <- c() | |
case_no <- c() | |
for (j in 1:3){ | |
print(j) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(dplyr) | |
library(purrr) | |
library(writexl) | |
tar <- "https://kreditjob.com/api/dashboard/filter" | |
body <- list("bjd_code"= F, | |
"data_ym"= "1903", | |
"industry"= F, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(magrittr) | |
library(dplyr) | |
library(stringr) | |
library(jsonlite) | |
tar <- "https://www.pubgesports.kr/front/team/roundChange?matchApiId=954976a0-b74d-4c2a-9ddf-6c1b7e8cac84&leagueNo=13&teamNo=4" | |
GET(tar) %>% | |
content("text") %>% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(randomForestSRC) | |
library(dplyr) | |
library(ROCR) | |
library(doParallel) | |
data(pbc, package="randomForestSRC") | |
data_na <- na.omit(pbc) | |
data_na <- data_na %>% dplyr::select(-days) |
NewerOlder