{"id":14068489,"url":"https://github.com/weecology/portalr","last_synced_at":"2025-10-22T05:51:10.546Z","repository":{"id":16872996,"uuid":"80792963","full_name":"weecology/portalr","owner":"weecology","description":"A collection of functions to summarize the Portal Data","archived":false,"fork":false,"pushed_at":"2025-06-26T05:46:32.000Z","size":17259,"stargazers_count":12,"open_issues_count":4,"forks_count":12,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-17T07:49:40.056Z","etag":null,"topics":["community-ecology","ecology","small-mammal-trapping"],"latest_commit_sha":null,"homepage":"https://weecology.github.io/portalr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weecology.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json"}},"created_at":"2017-02-03T03:16:22.000Z","updated_at":"2025-10-06T09:20:42.000Z","dependencies_parsed_at":"2025-04-14T18:41:49.841Z","dependency_job_id":"591f8f05-3969-4c10-ba50-09b23c0dc638","html_url":"https://github.com/weecology/portalr","commit_stats":{"total_commits":611,"total_committers":14,"mean_commits":"43.642857142857146","dds":0.5613747954173486,"last_synced_commit":"bc46d43ead3e8163b89055958c473bccab6b2e8e"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/weecology/portalr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weecology%2Fportalr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weecology%2Fportalr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weecology%2Fportalr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weecology%2Fportalr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weecology","download_url":"https://codeload.github.com/weecology/portalr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weecology%2Fportalr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280180261,"owners_count":26286115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["community-ecology","ecology","small-mammal-trapping"],"created_at":"2024-08-13T07:06:12.806Z","updated_at":"2025-10-22T05:51:10.520Z","avatar_url":"https://github.com/weecology.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\"\n)\n\nlibrary(portalr)\n```\n\n# portalr \u003cimg src=\"man/figures/logo.png\" width=\"200px\"\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/weecology/portalr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/weecology/portalr/actions/workflows/R-CMD-check.yaml)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/weecology/portalr/main/LICENSE)\n[![Codecov test coverage](https://codecov.io/gh/weecology/portalr/graph/badge.svg)](https://app.codecov.io/gh/weecology/portalr)\n[![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/portalr)](https://CRAN.R-project.org/package=portalr)\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1429290.svg)](https://doi.org/10.5281/zenodo.1429290)\n[![DOI](http://joss.theoj.org/papers/10.21105/joss.01098/status.svg)](https://doi.org/10.21105/joss.01098)\n[![NSF-1929730](https://img.shields.io/badge/NSF-1929730-blue.svg)](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1929730)\n\u003c!-- badges: end --\u003e\n\n## Overview \n\nThe **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.\n\n## Installation\n\nYou can install portalr from CRAN with:\n\n```{r CRAN-installation, eval = FALSE}\ninstall.packages(\"portalr\")\n```\n\nOR from github with:\n\n```{r gh-installation, eval = FALSE}\n# install.packages(\"remotes\")\nremotes::install_github(\"weecology/portalr\")\n```\n\n## Examples\n\n1. Load all data tables from the [PortalData GitHub repo](https://github.com/weecology/portalData):\n\n```{r load data from repo, eval = FALSE}\ndata_tables \u003c- load_rodent_data(\"repo\")\n```\n\n2. Download and generate summaries of rodent abundance and biomass:\n\n```{r download and summarize rodent data, eval = FALSE}\ndownload_observations(\".\")\n\nrodent_data \u003c- abundance(\".\") # default grouping is by sampling period\n\nrodent_biomass_by_plot \u003c- biomass(\".\", level = \"plot\", type = \"granivores\", \nshape = \"flat\", time = \"date\")\n```\n\n3. Retrieve weather data:\n\n```{r weather data, eval = FALSE}\nweatherdata \u003c- weather(\"Monthly\", \".\")\n```\n\nFor more detailed info, checkout the vignettes associated with the package:\n```{r browse vignettes, eval = FALSE}\nbrowseVignettes(\"portalr\")\n```\n\n## More Information\n\n#### [Portal Data Repo](https://github.com/weecology/PortalData) \nThe 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.\n\n#### [The Portal Project](https://portal.weecology.org/)\nFind a list of previous publications using the Portal data at our website.\n\n#### [The Portal Blog](https://portalproject.wordpress.com/)\nFollow our blog to get the latest news on what is happening with our project and at the site.\n\n## Citation\n\nTo cite `portalr`, please refer to either:\n\n* [JOSS publication](https://doi.org/10.21105/joss.01098):\n\n  Erica M. Christensen, Glenda M. Yenni, Hao Ye, Juniper L. Simonis, Ellen K. Bledsoe, Renata M. Diaz, Shawn D. Taylor, Ethan P. White, and S. K. Morgan Ernest. (2019). portalr: an R package for summarizing and using the Portal Project Data. Journal of Open Source Software, 4(33), 1098, https://doi.org/10.21105/joss.01098\n\n* or use the most recent release on [Zenodo](https://doi.org/10.5281/zenodo.1429290).\n\n### Dataset Citation\n\nTo cite the Portal dataset, use:\n\n```{r}\nget_dataset_citation()\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweecology%2Fportalr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweecology%2Fportalr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweecology%2Fportalr/lists"}