Description of the data set by Missingmigrants.iom.int (2020): “Missing Migrants Project tracks deaths of migrants, including refugees and asylum-seekers, who have died or gone missing in the process of migration towards an international destination. Please note that these data represent minimum estimates, as many deaths during migration go unrecorded.”
install.packages("data.table")
install.packages("ggplot2")
install.packages("gganimate")
install.packages("maps")
install.packages("sf")
source("R/prep_data.R")
source("R/anim_plot.R")
source("R/write_anim.R")
mig <- prep_data("data/MissingMigrants-Global-2020-01-08T14-05-32.csv")
title <-
'Migration {frame_time}: Dead and missing persons'
subtitle <-
"Displayed is the weighted geographic centroid of the incidents per region and year."
caption <-
"© munterfinger.ch, author: @munterfi1, data: missingmigrants.iom.int"
gplot <- anim_plot(mig,title, subtitle, caption)
gplot %>% write_anim("docs/migration_%s_%s.gif")
- Missingmigrants.iom.int. (2020). Missing Migrants Project. [online] Available at: https://missingmigrants.iom.int/downloads [Accessed 11 Jan. 2020].
- IOMs Missing Migrants Project data is licensed under a Creative Commons Attribution 4.0 International License.
- This repository is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.