Back to Browse

Mapping air quality

6.3K views
Sep 10, 2023
49:19

In this tutorial, you will learn how to interpolate the air quality index (AQI) data points and create beautiful 2D and 3D choropleth maps using ggplot2 and rayshader in R 0:00 Prologue 01:05 Intro 01:43 Load libraries 03:50 WAQI website 07:40 Build GET request 09:07 Clean up the data 16:48 Make grid 22:56 Data frame to sf points 25:38 Interpolate points 28:34 Theme, color, breaks 35:07 Lambert projection 35:25 2D map of air pollution 38:57 Save 2D map 39:59 Create scene 44:32 Render scene 47:56 3D map of air pollution 48:10 Closing Check the full code in my GitHub repo: https://github.com/milos-agathon/mapping-air-pollution Follow my work on Instagram: https://www.instagram.com/milos_makes_maps Let's connect on X: https://twitter.com/milos_agathon If you like my work, consider buying me a coffee: https://www.buymeacoffee.com/milospopovic Music credits: --------------------------------------------------------------------------------------------------- LAKEY INSPIRED Track Name: "Blue Boi" Music By: LAKEY INSPIRED @ https://soundcloud.com/lakeyinspired Original upload HERE - https://www.youtube.com/watch?v=wAukvwLCVbM&t=0s • LAKEY INSPIRED - Blue Boi Official "LAKEY INSPIRED" YouTube Channel HERE - https://www.youtube.com/channel/UCOmy8wuTpC95lefU5d1dt2Q @lakeyinspired License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0) License. Full License HERE - https://creativecommons.org/licenses/by-sa/3.0/legalcode Music promoted by NCM https://goo.gl/fh3rEJ

Download

0 formats

No download links available.

Mapping air quality | NatokHD