Create Useful Summaries of the Portal Data

Download and generate summaries for the rodent, plant, ant, and weather data from the Portal Project. Portal is a long-term (and ongoing) experimental monitoring site in the Chihuahua desert. The raw data files can be found at <>.

BuildStatus License Coveragestatus CRANdownloads



The portalr package provides collection of basic functions to summarize the Portal project data on rodents, plants, ants, and weather at our long-term field site in the Chihuahuan Desert. The data begin in 1977 and are continuously updated today. There are functions to summarize rodent abundance, biomass, or energy and by site, plot, or treatment type. There are functions to summarize the weather data collected from our automated weather stations and plant data that is collected each summer and fall.


You can install portalr from CRAN with:


OR from github with:

# install.packages("devtools")


  1. Load all data tables from the PortalData GitHub repo:
data_tables <- load_rodent_data("repo")
  1. Download and generate summaries of rodent abundance and biomass:
rodent_data <- abundance(".") # default grouping is by sampling period
rodent_biomass_by_plot <- biomass(".", level = "plot", type = "granivores", 
shape = "flat", time = "date")
  1. Retrieve weather data:
weatherdata <- weather("Monthly", ".")

For more detailed info, checkout the vignettes associated with the package:


More Information

Portal Data Repo

The data repo contains useful details for issues with data collection, and background on why we handle them the way we do. Of course, it also contains the raw data, if you would like to create more complex data summaries than what is provided here.

The Portal Project

Find a list of previous publications using the Portal data at our website.

The Portal Blog

Follow our blog to get the latest news on what is happening with our project and at the site.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.8 by Glenda M. Yenni, 5 months ago,

Report a bug at

Browse source code at

Authors: Glenda M. Yenni [aut, cre] , Hao Ye [aut] , Erica M. Christensen [aut] , Juniper L. Simonis [aut] , Ellen K. Bledsoe [aut] , Renata M. Diaz [aut] , Shawn D. Taylor [aut] , Ethan P , White [aut] , S.K. Morgan Ernest [aut] , Weecology [cph]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports clipr, clisymbols, crayon, dplyr, forecast, gh, httr, lubridate, lunar, magrittr, rlang, tidyr, tidyselect, zoo

Suggests covr, cowplot, ggplot2, httptest, knitr, pkgdown, rmarkdown, testthat

See at CRAN