This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load Required Libraries | |
library(tidyverse) # All things tidy | |
library(sf) # Handling simple features in R | |
library(terra) # Handling rasters in R | |
library(tidyterra) # Rasters with ggplot2 | |
library(scales) # Nice Scales for ggplot2 | |
library(ggtext) # Markdown text in ggplot2 | |
library(showtext) # Display fonts in ggplot2 | |
library(colorspace) # Lighten and Darken colours | |
library(geodata) # Geospatial Data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load Required Libraries | |
library(tidyverse) # All things tidy | |
library(sf) # Handling simple features in R | |
library(terra) # Handling rasters in R | |
library(tidyterra) # Rasters with ggplot2 | |
library(scales) # Nice Scales for ggplot2 | |
library(ggtext) # Markdown text in ggplot2 | |
library(showtext) # Display fonts in ggplot2 | |
library(colorspace) # Lighten and Darken colours | |
library(geodata) # Geospatial Data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load Required Libraries | |
library(tidyverse) # All things tidy | |
library(sf) # Handling simple features in R | |
library(terra) # Handling rasters in R | |
library(tidyterra) # Rasters with ggplot2 | |
library(scales) # Nice Scales for ggplot2 | |
library(ggtext) # Markdown text in ggplot2 | |
library(showtext) # Display fonts in ggplot2 | |
library(colorspace) # Lighten and Darken colours | |
library(geodata) # Geospatial Data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load Required Libraries | |
library(tidyverse) # All things tidy | |
library(sf) # Handling simple features in R | |
library(terra) # Handling rasters in R | |
library(tidyterra) # Rasters with ggplot2 | |
library(scales) # Nice Scales for ggplot2 | |
library(ggtext) # Markdown text in ggplot2 | |
library(showtext) # Display fonts in ggplot2 | |
library(colorspace) # Lighten and Darken colours | |
library(geodata) # Geospatial Data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Link for full code https://code.earthengine.google.com/1a58355cacea8ad233df6ba8788f2455?noload=1 | |
// Import the Dynamic World dataset | |
var dwComposite = ee.ImageCollection('GOOGLE/DYNAMICWORLD/V1') | |
.filter(ee.Filter.date('2016-01-01', '2016-12-31')) | |
.select('label'); | |
// Create a composite image | |
var composite = dwComposite.mosaic().clip(geometry); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#All credits to Mohammad Mohsin Raza | |
# Load required libraries | |
library(tidyverse) | |
library(sf) | |
library(terra) | |
library(rgeoboundaries) | |
library(climateR) | |
library(biscale) | |
library(cowplot) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################### | |
Primary Notes Before you go into Venturing this code | |
-Make sure you install FFMPEG On Your computer for animation(Gyan.dev or BtbN) | |
-Make sure you install Rtools for good functionality of Rayrender and Rayshader | |
-Make sure you download Rayrender and Rayshader package within Rstudio | |
-Make sure you have Earth Texture or any Planetary Texture | |
-link for Earth Textures:https://www.shadedrelief.com/natural3/pages/textures.html | |
-link for Solar system Textures:https://www.solarsystemscope.com/textures/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(afrilearndata) | |
library(sf) | |
library(raster) | |
library(rayshader) | |
mgc = africountries %>% filter(name=="Tanzania") | |
mgp = mask(afripop2020, mgc) |