1 여론조사기관

중앙선거관리위원회 → 중앙선거여론조사심의위원회 → 알림마당 → 여론조사기관등록현황에 보면 2020-03-21 시점 기준 “기관등록 현황”과 “기관등록 취소현황”을 파악할 수 있다.

[1] "C"
[1] "LC_COLLATE=Korean_Korea.949;LC_CTYPE=Korean_Korea.949;LC_MONETARY=Korean_Korea.949;LC_NUMERIC=C;LC_TIME=Korean_Korea.949"

1.1 등록현황 {polling-company-overview}

1.1.1 첫번째 페이지

1.1.2 전체회사 페이지

# A tibble: 9 x 3
  name   value  link                                                            
  <chr>  <list> <chr>                                                           
1 link_1 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
2 link_2 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
3 link_3 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
4 link_4 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
5 link_5 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
6 link_6 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
7 link_7 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
8 link_8 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~
9 link_9 <glue> https://www.nesdc.go.kr/portal/content/onvy/list.do?&sdate=&eda~

2 여론조사기관

2.1 등록업체

2.2 등록추세

reg_df <- company_df %>% 
  count(등록일자, name="업체수") %>% 
  mutate(연월 = format(등록일자, "%Y-%m")) %>% 
  group_by(연월) %>% 
  summarise(업체수 = sum(업체수)) %>% 
  ungroup() %>% 
  mutate(연월 = lubridate::ymd(glue("{연월}-15")))

registration_g <- reg_df %>% 
  ggplot(aes(x=연월, y=업체수)) +
    geom_point() +
    geom_line() +
    geom_vline(xintercept = lubridate::ymd("2017-05-09"), color="blue", linetype="dashed") +
    geom_vline(xintercept = lubridate::ymd("2018-06-13"), color="blue", linetype="dashed") +
    geom_vline(xintercept = lubridate::ymd("2020-04-15"), color="blue", linetype="dashed") +
    theme_bw() +
    labs(x="", y="여론조사기관 등록업체수", title="중앙선거여론조사심의위원회 등록업체현황") +
    geom_curve(aes(x = lubridate::ymd("2018-06-13"), y = 5, xend = lubridate::ymd("2018-09-13"), yend = 10),
             curvature = 0.35, angle = 50, size=1, color ="blue", arrow = arrow(type = "closed", length = unit(0.35,"cm"))) +
    annotate("label", x=lubridate::ymd("2018-09-13"), y=11, label="지방선거") +
    geom_curve(aes(x = lubridate::ymd("2017-05-09"), y = 5, xend = lubridate::ymd("2017-09-09"), yend = 20),
             curvature = 0.35, angle = 50, size=1, color ="blue", arrow = arrow(type = "closed", length = unit(0.35,"cm"))) +
    annotate("label", x=lubridate::ymd("2017-09-09"), y=21, label="대통령 선거") +
    geom_curve(aes(x = lubridate::ymd("2020-04-15"), y = 5, xend = lubridate::ymd("2019-12-09"), yend = 15),
           curvature = -0.35, angle = 50, size=1, color ="blue", arrow = arrow(type = "closed", length = unit(0.35,"cm"))) +
    annotate("label", x=lubridate::ymd("2019-12-09"), y=16, label="국회의원 선거")

registration_g