Skip to contents

One observer per portal.csv observe_methodedi-pasta (the newest revision through EDI's cite service, since PASTA's /package/eml/{scope}/{id} answers 403 anonymously), doi (does doi.org resolve), obis-api (the dataset's updated), ncbi-esummary, zenodo-api, erddap-das (date_modified / time_coverage_end, and a 404 means the id is gone), caloos / http (liveness). Nothing is written into the registry and no row is ever dropped: the result is a parallel observation, and retired is a status, not a deletion.

Usage

observe_distributions(registry, portals = NULL, fetch = NULL, quiet = FALSE)

Arguments

registry

the tibble from read_distribution_registry(), or the union from distribution_targets()

portals

the tibble from read_portal_registry(), or NULL (every row is then observed by http)

fetch

the HTTP function (see check_dataset_citation()); the tests inject one over saved responses, so the suite never touches the network

quiet

suppress the per-row progress line

Value

A tibble: the registry's key columns plus method, registry_status, status (one of observation_statuses()), observed_utc, http_status, revision, updated, note.