To extract a specific time series from the Dataset Viewer by API, follow these steps:
- Open a dataset.
- Make your data selections.
- Choose the API format (JSON, Python, R, C#, or SDMX). The script will appear in a pop up for you to copy. Note, however, that R, C# and SDMX are available for certain datasets only.
Selecting Python, for example, could give you a script like this:
Note: Knoema powers the API.