# NOT RUN {
# Use `countrypops` to create a gt table;
# align the `population` column data to
# the left
tab_1 <-
countrypops %>%
dplyr::select(-contains("code")) %>%
dplyr::filter(country_name == "Mongolia") %>%
tail(5) %>%
gt() %>%
cols_align(
align = "left",
columns = vars(population)
)
# }
Run the code above in your browser using DataLab