Do-It-Yourself
It’s now time for you to play around and experimen.t
Option 1
Working on a time-series representation of the evolution of Nights Lights in a country of your choice. As in the lab, the data can be found here.
- Process the data and make a map with at least two years of night lights data.
- Think about the story the data is telling you.
- How have night lights evolved over time in your country of choice? Remember this will mean different things for different countries.
- What choices have you made in terms of bins, colours, zoom level to tell your story?
- Try
gganimate
: a package that allows you to turn your ggplot2 graphs into gifs.
Some inspiration below.
Option 2
Have a look at how to exploit NASA’s Black Marble dataset. We do not have enough time to process it in this workshop but there are some excellent tutorial out there showing you how.
- Have a look at this excellent article present the data and how you can access it.
- Follow the tutorial Downloading and processing Black Marble nightlights data in R to discover:
How to process Black Marble nightlights imagery in R; and
How to process Colorado School of Mines’s nightlights imagery from Google Earth Engine (also using R).
This involves learning about more packages such as blackmarbler
and rgee
.
- You can then even learn how to to increase nightlights from 500m to 30m resolution.