Data munging
- read in using xlsx2
- recode the Hungarian to English (“we thought it was a feature, but it turned out to be a bug”)
- get geocodes from Google Maps
- calculate total cargo/passenger flow
- calculate the ratio of outgoing cargo/passenger
Visualization of cargo flow
- see export/import locations (plotly - interactivity)
- see export/import in time (gganimate - animation)
## OGR data source with driver: GeoJSON
## Source: "ne_50m_admin_0_countries.geojson", layer: "OGRGeoJSON"
## with 241 features
## It has 63 fields
Visualization of passenger flow
- is there such diversity in passenger flow?
- passengers flow is mostly centered in Europe (ggmap)
- there are some more distant locations where people like to travel (plotly - native)
The MALÉV crisis
- Jan-Feb 2012
- Remove seasonal trends (STL)
- Baseline is 2007
- Add images to make it more infographic (ggplot)
Cheers,
Fanni & Agoston