Learn R Programming

geeLite (version 1.0.2)

get_cases: Determine the Cases of Data Collection Requests

Description

Determines the cases of data collection requests based on the markers of 'datasets', 'bands', and 'stats'.

Usage

get_cases(database_new, dataset_new, band_new, stats_new, regions_new)

Value

An integer indicating the processing cases as follows:

1

All build

2

All update

3

Mixed

Arguments

database_new

[mandatory] (logical) A logical value indicating whether the database is new.

dataset_new

[mandatory] (logical) A logical value indicating whether the dataset is new.

band_new

[mandatory] (logical) A logical value indicating whether the band is new.

stats_new

[mandatory] (logical) A logical vector indicating which statistics are new.

regions_new

[mandatory] (logical) A logical vector indicating which regions are new.