The goal of cageo is to provide geospatial data for Costa Rica
You can install the development version of cageo from GitHub with:
# install.packages("devtools")
devtools::install_github("ManuelSpinola/cageo")
This is a basic example which shows you how to use the package:
## basic example code
library(cageo)
library(tidyverse)
library(sf)
library(stars)
ggplot(ca_outline) +
geom_sf(fill = "dodgerblue4", color = "gray") +
theme_minimal()
ggplot() +
geom_stars(data = ca_elevation) +
scale_fill_viridis_c(name = "Altitud (m)", na.value = "transparent") +
theme_minimal() +
coord_equal()