Import data

# excel file
data <- read_excel("../00_data/mydata.xlsx")
data
## # A tibble: 64,809 × 16
##    `The year of data collection` `Country of Origin name` Country of origin UN…¹
##                            <dbl> <chr>                    <chr>                 
##  1                          2010 Afghanistan              AFG                   
##  2                          2010 Iran (Islamic Rep. of)   IRN                   
##  3                          2010 Iraq                     IRQ                   
##  4                          2010 Pakistan                 PAK                   
##  5                          2010 Egypt                    ARE                   
##  6                          2010 China                    CHI                   
##  7                          2010 Palestinian              GAZ                   
##  8                          2010 Iraq                     IRQ                   
##  9                          2010 Serbia and Kosovo: S/RE… SRB                   
## 10                          2010 Türkiye                  TUR                   
## # ℹ 64,799 more rows
## # ℹ abbreviated name: ¹​`Country of origin UNHCR code`
## # ℹ 13 more variables: `Country of origin ISO code` <chr>,
## #   `Country of asylum name` <chr>, `Country of asylum UNHCR code` <chr>,
## #   `Country of asylum ISO code` <chr>, `The number of refugees` <dbl>,
## #   `The number of asylum-seekers` <dbl>,
## #   `The number of returned refugees` <dbl>, …

Plot prices

data %>%
    
    ggplot(aes(`The year of data collection`)) +
    
    geom_bar()