get_citation
How to cite a variable's data: the citation text, licence and DOI from its data passport, and -- for a selection (stations, a time window, a box) -- every data object it came from, in full. Data answers carry a short citation and only the COUNT of their sources; this lists them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | a variable id from search_variables | |
| end | No | ISO date or datetime, EXCLUSIVE | |
| start | No | ISO date or datetime, inclusive (2025-01-01) | |
| lat_max | No | ||
| lat_min | No | ||
| lon_max | No | ||
| lon_min | No | ||
| station | No | station ids -- a list, or one id (or several, comma-separated) as a string; CASE-SENSITIVE: HTM150 (trigram + sampling height) for atmosphere, SE-Htm for FLUXNET sites |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | No | ||
| license | No | ||
| sources | No | the citation of each data object the selection came from -- what to cite when there is no collection citation (near-real-time data) | |
| citation | No | ||
| n_sources | No | how many data objects the selection came from; in a data answer their citations are listed only when there are three or fewer -- get_citation (with the same stations) lists them all | |
| license_url | No | ||
| selection_id | No | stable id of this exact selection over this exact store version | |
| store_version | No |