knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

MATSS

Build Status License Coverage
status DOI

Overview

MATSS is a package for conducting Macroecological Analyses of Time Series Structure. We designed it to help researchers quickly get started in analyses of ecological time series, and to reinforce and spread good practices in computational analyses.

We provide functionality to:

Contributing

For more information about contributing code, datasets, or analyses, please check out the Contributing Guide.

Installation

You can install MATSS from github with:

# install.packages("remotes")
remotes::install_github("weecology/MATSS", build_opts = c("--no-resave-data", "--no-manual"))

MATSS also uses the rdataretriever package to download additional datasets. To get this package and its dependencies wokring, we recommend following the online installation instructions.

Datasets

library(MATSS)
library(drake)
datasets <- build_datasets_plan(include_retriever_data = TRUE, 
                                include_bbs_data = TRUE, 
                                include_gpdd_data = TRUE, 
                                include_biotime_data = TRUE)

count_ts <- function(data) {NCOL(data$abundance)}

analyses <- drake_plan(num_ts = target(count_ts(data), 
                                       transform = map(data = !!rlang::syms(datasets$target))), 
                       total = target(sum(num_ts), 
                                      transform = combine(num_ts)))

plan <- bind_plans(datasets, analyses)
make(plan)

MATSS pulls data from a variety of sources, including:

Combined, there are r readd(total) individual time series across all of these data sources.

Getting Started

We recommend you take a look at our vignette on Getting Started for more details about how to begin using MATSS.

If you have the package installed, you can also view the vignette from within R:

vignette("MATSS")

Example Use Cases

Here are some examples of analyses built on MATSS:

Acknowledgments

We thank Erica Christensen and Joan Meiners for their contributions and input on early prototypes of this project. This project would not be possible without the support of Henry Senyondo and the retriever team. Finally, we thank Will Landau and the drake team for their input and responsiveness to feedback.

Package development is supported through various funding sources: including the Gordon and Betty Moore Foundation’s Data-Driven Discovery Initiative, Grant GBMF4563 to E. P. White (supporting also the time of J. Simonis and H. Ye), the National Science Foundation, Grant DEB-1622425 to S. K. M. Ernest, and a National Science Foundation Graduate Research Fellowship (No. DGE-1315138 and DGE-1842473) to R. Diaz.



weecology/MATSS-pipeline documentation built on May 16, 2020, 1:54 p.m.