Description Usage Arguments Value Examples
Importer metrics
1 2 3 4 5 6 7 8 |
dataset_key |
(character) a dataset key to filter by. optional |
state |
(character) filter listed import metrics by their state, e.g. the last failed import. one of: downloading, processing, inserting, unchanged, finished, canceled, failed. optional |
running |
(logical) if only a list of running imports should
be returned. default: |
start |
(integer) requested number of offset records. Default: 0 |
limit |
(integer) requested number of maximum records to be returned. Default: 10; max: 1000 |
... |
curl options passed on to |
a named list, with slots offset
(integer), limit
(integer),
total
(integer), result
(list), empty
(boolean),
and last
(boolean). The result
slot is a list itself, with any
number of results as named lists
1 2 3 | if (cp_up("/importer?limit=1")) {
cp_importer(limit = 1)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.