Skip to content

munterfi/missing-migrants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Missing Migrants (2014-2019)

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.”

Pkgs

install.packages("data.table")
install.packages("ggplot2")
install.packages("gganimate")
install.packages("maps")
install.packages("sf")

Funcs

source("R/prep_data.R") 
source("R/anim_plot.R")
source("R/write_anim.R") 

Read & preprocess

mig <- prep_data("data/MissingMigrants-Global-2020-01-08T14-05-32.csv")

Create map

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)

Save animation

gplot %>% write_anim("docs/migration_%s_%s.gif")

References

License

About

Visualization of IOM's Missing Migrants Project data (2014-2019).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages