Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.09 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.09 KB

cageo: Geospatial data of Central America

cageo

The goal of cageo is to provide geospatial data for Costa Rica

Installation

You can install the development version of cageo from GitHub with:

# install.packages("devtools")
devtools::install_github("ManuelSpinola/cageo")

Example

This is a basic example which shows you how to use the package:

## basic example code
library(cageo)
library(tidyverse)
library(sf)
library(stars)

Datos vectoriales

ggplot(ca_outline) +
  geom_sf(fill = "dodgerblue4", color = "gray") +
  theme_minimal()

Datos raster

ggplot() +
  geom_stars(data = ca_elevation) +
  scale_fill_viridis_c(name = "Altitud (m)", na.value = "transparent") +
  theme_minimal() +
  coord_equal()