get_stats: get_stats

View source: R/get_stats.R

get_statsR Documentation

get_stats

Description

Returns a count of sites, datasets, publications and other objects added to Neotoma during the requested time period.

Usage

get_stats(start, end)

Arguments

start

The starting month (from present == 0) for which to generate the summary.

end

The ending month (from present == 0) for which to generate the summary.

Details

This function returns summaries about the data holdings within Neotoma using the existing Neotoma API's summary endpoint. This can provide information about recent uploads (the number of new sites uploaded within the last month, for example), or can be used to provide information about the overall number of sites/datasets (using an arbitrarily high value for end).

Value

data.frame with summary statistics

Author(s)

Socorro Dominguez s.dominguez@ht-data.com

Simon Goring goring@wisc.edu

Examples


last_month <- get_stats(start = 0, end = 1)


neotoma2 documentation built on May 29, 2024, 6:21 a.m.