Read a package's EML metadata
edi_get_metadataRetrieve compact EML metadata sections from an LTER/EDI data package—overview, people, coverage, methods, rights, project, and entities—to inspect, cite, or start analysis.
Instructions
The package's EML, projected to compact sections: overview (abstract, keywords, dates), people (creators, contacts with ORCIDs), coverage (bounding boxes, date ranges, taxa), methods, rights and license, project and funding, and entities. Choose sections with include; long text is cut at max_text_chars and lists are capped with totals. Next: call edi_list_entities for column definitions, units and codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Sections to return: overview (abstract, keywords, dates), people, coverage (geographic, temporal, taxonomic), methods, rights, project (funding), entities. Default: all. | |
| 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'. | |
| max_text_chars | No | Cut abstract, methods and rights to this length. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| title | No | ||
| source | No | ||
| license | No | ||
| methods | No | ||
| project | No | ||
| pubDate | No | ||
| abstract | No | ||
| contacts | No | ||
| coverage | No | ||
| creators | No | ||
| entities | No | ||
| keywords | No | ||
| language | No | ||
| resolved | No | ||
| nextSteps | No | ||
| packageId | Yes | ||
| publisher | No | ||
| shortName | No | ||
| emlVersion | No | ||
| maintenance | No | ||
| revisionFrom | Yes | ||
| creatorsTotal | No | ||
| entitiesTotal | No | ||
| keywordsTotal | No | ||
| abstractTruncated | No | ||
| associatedParties | No | ||
| alternateIdentifiers | No |