brunomioto / feowR

Download shapefiles of Freshwater Ecoregions of the World (FEOW)
https://brunomioto.github.io/feowR/
Other
0 stars 0 forks source link

feowR feowR website

Codecov test
coverage R-CMD-check

feowR provides a faster and secure way to download shapefiles of Freshwater Ecoregions of the World (FEOW) using piggyback R package.

Installation

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

# install.packages("remotes")
remotes::install_github("brunomioto/feowR")

Example

library(feowR)

feow_sf <- read_feow()

Now let’s plot it!

library(ggplot2)

ggplot(data = feow_sf)+
  geom_sf()

We can see the list of all ecoregions, from FEOW website

ecoregions_list
#> # A tibble: 426 × 4
#>       id realm    major_habitat_type                       ecoregion            
#>    <int> <chr>    <chr>                                    <chr>                
#>  1   101 Nearctic Polar freshwaters                        Alaskan Coastal      
#>  2   102 Nearctic Polar freshwaters                        Upper Yukon          
#>  3   103 Nearctic Temperate coastal rivers                 Alaska & Canada Paci…
#>  4   104 Nearctic Temperate floodplain rivers and wetlands Upper Mackenzie      
#>  5   105 Nearctic Polar freshwaters                        Lower Mackenzie      
#>  6   106 Nearctic Polar freshwaters                        Central Arctic Coast…
#>  7   107 Nearctic Temperate upland rivers                  Upper Saskatchewan   
#>  8   108 Nearctic Temperate upland rivers                  Middle Saskatchewan  
#>  9   109 Nearctic Large lakes                              English - Winnipeg L…
#> 10   110 Nearctic Temperate coastal rivers                 Southern Hudson Bay  
#> # ℹ 416 more rows