search_datasets >Search data.gov.gr datasets
Search the datasets catalogued on data.gov.gr — the national catalogue of 22,000+ datasets from ministries, regions, municipalities and agencies: geospatial layers, statistics, registers, budgets, measurements. Returns each dataset's slug, title, publishing body, licence, themes, formats and whether its rows can be queried here; get_dataset lists its files. `text` searches titles and descriptions (Solr: quote a phrase, AND/OR between words; a bare word matches anywhere). Filters combine with AND: `organization` takes the slug from list_organizations, `tag` an exact tag from list_tags, `format` a file format such as 'CSV' or 'GeoJSON', `licence` a licence id from list_facets, `theme` one of the EU data themes. Most datasets are geospatial layers (WMS, GeoJSON); `queryableOnly` keeps those whose rows are in the datastore and can be filtered with query_resource. A catalogue entry is a description of data, not the data: to read rows, pick a resource from get_dataset and use query_resource (datastore) or read_resource (the file).
Arguments
- textstring, up to 200 characters
- Words from the title or description. Case and accents are ignored.
- organizationstring, up to 100 characters
- Slug of the publishing body, from list_organizations, e.g. 'chania'.
- tagstring, up to 100 characters
- An exact tag, from list_tags.
- formatstring, up to 40 characters
- A file format the dataset has a resource in: 'CSV', 'XLSX', 'GeoJSON', 'WMS', …
- licencestring, up to 120 characters
- A licence id, e.g. 'cc-by', 'odc-odbl', 'other-open', 'notspecified'. list_facets with 'licence' lists them.
- themestring, one of AGRI, ECON, EDUC, ENER, ENVI, GOVE, HEAL, INTR, JUST, REGI, SOCI, TECH, TRAN
- EU data theme: 'AGRI' Agriculture, fisheries, forestry and food, 'ECON' Economy and finance, 'EDUC' Education, culture and sport, 'ENER' Energy, 'ENVI' Environment, 'GOVE' Government and public sector, 'HEAL' Health, 'INTR' International issues, 'JUST' Justice, legal system and public safety, 'REGI' Regions and cities, 'SOCI' Population and society, 'TECH' Science and technology, 'TRAN' Transport.
- queryableOnlyboolean
- Only datasets with at least one resource in the datastore. Applied to each page after the search, so a page may come back short. Defaults to false.
- sortstring, one of relevance, modified, title
- 'relevance' (default), 'modified' newest first, or 'title'.
- pageinteger, ≥ 0
- Zero-based page number. Defaults to 0.
- sizeinteger, 1–100
- Datasets per page, 1-100. Defaults to 20.
Example arguments
{
"text": "σχολεία",
"format": "CSV",
"size": 5
}