Dane Gov Pl

v0.2.1
io.github.pipeworx-io/dane-gov-pl Checked 1 day ago Published 1 month ago

dane.gov.pl — Poland's national open data portal (Otwarte Dane).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_datasets

Search/list datasets on Poland's national open data portal (dane.gov.pl). Returns a JSON:API list of datasets with id, title, notes, slug, institution and resource count. Content is mostly Polish; q accepts Polish or English. Use the returned dataset id with dataset_details / list_resources.

ParameterTypeDescription
langstringLanguage hint "en" or "pl"; only some portal fields are translated.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1-100 (default 20).
qstringFull-text query (Polish or English), e.g. "budżet", "health", "powietrze".
sortstringSort field, e.g. "id", "-created", "title". Default "id".

dataset_details

Get full metadata for a single dataset by numeric id (from search_datasets). Returns the JSON:API dataset object: title, notes, license, keywords, regions, institution relationship and resource count.

ParameterTypeDescription
id *stringDataset numeric id, e.g. "771".
langstringLanguage hint "en" or "pl".

list_resources

List the resources (files/tables) attached to a dataset. Returns JSON:API resource objects with id, title, format (csv/xlsx/...), media_type, link, openness_score and a tabular_data relationship. Resources whose relationships include tabular_data can be read row-by-row with resource_data.

ParameterTypeDescription
dataset_id *stringDataset numeric id, e.g. "771".
langstringLanguage hint "en" or "pl".
pageintegerPage number (default 1).
per_pageintegerResults per page, 1-100 (default 20).

resource_data

Read row-level data from a tabular resource (one with a tabular_data relationship). Returns JSON:API "row" objects whose attributes map column names (col1, col2, ...) to {repr, val} pairs. Supports paging and full-text row filtering via q. Use list_resources first to find a tabular resource id.

ParameterTypeDescription
resource_id *stringResource numeric id, e.g. "22509".
pageintegerPage number (default 1).
per_pageintegerRows per page, 1-100 (default 20).
qstringFull-text filter across row cells (Polish or English), e.g. "AUSTRIA".

search_institutions

Search/list data-publishing institutions (ministries, agencies, municipalities, companies) on dane.gov.pl. Returns JSON:API institution objects with id, title, abbreviation, institution_type, website, regon and dataset count. Mostly Polish content; q accepts Polish or English.

ParameterTypeDescription
langstringLanguage hint "en" or "pl".
pageintegerPage number (default 1).
per_pageintegerResults per page, 1-100 (default 20).
qstringFull-text query (Polish or English), e.g. "ministerstwo".