Surfaces the dataset-level health and engagement metadata that the v2 API
embeds inline but the v1 fetch path does not expose — the bridge between
discover (dg_find_datasets()) and judge (dg_schema()'s column
documentation). It reports the dataset's quality score and flags, its
metrics (views, downloads, followers, ...) and its context
(organization, license, frequency, temporal/spatial coverage, access type),
helping a user decide whether a dataset is worth pulling.
Arguments
- id
A dataset identifier (24-hex), a composed table id, or a table returned by
dg_pull_dataset()/dg_refetch()(itsidattribute is read).- table
Whether to also include the dataset's list of resources (from the v2 resources subsection, one extra request per dataset).
NULLorFALSE(the default) skips the per-resource fetch;TRUEincludes it.
Value
A list with the v2-inline metadata:
quality: a list withscore(0-1) and boolean flags (license,temporal_coverage,spatial,update_frequency,dataset_description_quality).metrics: views, resources_downloads, followers, discussions, reuses, dataservices.context: organization (name/slug/id), license, frequency, temporal_coverage, spatial/granularity, access_type, archived, featured.resources(only whentable = TRUE): the list of resource objects.