Learn R Programming

rstoat (version 1.0.2)

start_annotation_batch: Start batch annotation

Description

Submit a dataset previously uploaded on mol.org for annotation. To upload a dataset please visit https://mol.org/upload/ Requires login, please run mol_login(<email_address>)

Usage

start_annotation_batch(dataset_id, title, layers)

Arguments

dataset_id

The id of the dataset. List your datasets with the my_datasets() function.

title

The title of the annotation job.

layers

A list of parameters or vector of codes, of the layers, see the examples below.

Value

No return value, check my_jobs() to confirm successful job submission.

Examples

Run this code
# NOT RUN {
start_annotation_batch('<dataset_id>', 'My annotation task', layers = list(
   list(product = "chelsa", variable = "precip", spatial = 1000, temporal = 30)
))
# alternatively supplying the code is fine.
start_annotation_batch('<datset_id>',
  'My 2nd annotation task', layers = c("modis-ndvi-1000-1", "modis-lst_day-1000-1"))
# }

Run the code above in your browser using DataLab