library(tidyverse) library(readxl) library(xts)
export_data = read_xlsx(paste0("C:\\Users\\Home", "\\OneDrive - Bank Of Israel\\Data", "\\IMF\\Export-Import", "\\Exports_to_Counterpart_Countries.xlsx"), skip = 5) %>% rename("country" = 1) %>% pivot_longer(-country,names_to = "date") %>% mutate(date = as.yearmon(date, "%YM%m"))
export_data %>% filter(date == max(date)) %>% slice_max(order_by = value,n = 30) %>% pull(country)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.