List a package's data entities
edi_list_entitiesList every data entity in one package revision with file details, columns, checksums, and URLs so you can choose an entityId to preview or download.
Instructions
Every data entity (table or file) of one package revision: name, type, file name, format, byte size, record count, CSV layout and the columns with definitions, storage types, units, date formats, code lists and missing-value codes; optional SHA-1 checksums. Gives the PASTA data URL and a DataONE URL readable without a key. Next: call edi_preview_entity or edi_download_entities with an entityId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Entities per page (1-200). | |
| entity | No | Only this entity: its id, name or file name (case-insensitive). | |
| offset | No | Index of the first entity (paging). | |
| package | Yes | A package: knb-lter-hbr.14.22, knb-lter-hbr.14 (newest unless revision is set), a DOI, or a portal or PASTA URL; the scope may be a site code or name (jrn.210548103). | |
| revision | No | Revision when package names none: a number, 'newest' (default) or 'oldest'. | |
| include_checksums | No | Fetch missing SHA-1 checksums (one request per entity, at most 25). | |
| include_attributes | No | Return each entity's columns (definitions, units, codes). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| notes | No | ||
| source | No | ||
| entities | Yes | ||
| resolved | No | ||
| nextSteps | No | ||
| packageId | Yes | ||
| revisionFrom | Yes | ||
| attributesElided | No |