Fetch any dataset automatically – in a spreadsheet, a script or an app. The portal runs on CKAN, so you use the standard API known from other open data portals.
A spreadsheet can load a CSV file from the portal and keep it fresh. Copy the file address from the dataset page (“Download” button) or the url field in package_show. Example: public WiFi hotspots.
ExcelData → From Web → paste the CSV address → Load. Refresh it with “Refresh All”.
LibreOfficeSheet → Link to External Data → paste the CSV address. Step-by-step guide
Data on a map
Datasets with coordinates (WGS84, like GPS) can be fetched row by row with datastore_search and pinned on a map. Leaflet example – WiFi hotspots:
JavaScript
// Points from a table with coordinates (Leaflet)const url = "https://ckan.otwartedane-rz.st.cetuspro.com/api/3/action/datastore_search?resource_id=<resource_id>&limit=1000";
const { result } = await (await fetch(url)).json();
// Find the latitude and longitude columns by nameconst col = (start) => Object.keys(result.records[0]).find((k) => k.startsWith(start));
const lat = col("szerokosc"), lon = col("dlugosc");
for (const r of result.records) {
L.marker([+r[lat], +r[lon]]).bindPopup(r["adres hotspota"]).addTo(map);
}
Prefer no coding? Open the CSV in free QGIS – guide. See all layers at once on the portal map.
Analysis in Python
Fetch all rows page by page and analyse them in pandas – daily mean PM10 from the city’s sensors:
Python
import pandas as pd, requests
API = "https://ckan.otwartedane-rz.st.cetuspro.com/api/3/action"# All rows, 1000 per request
rows, offset = [], 0
while True:
r = requests.get(f"{API}/datastore_search",
params={"resource_id": "<resource_id>", "limit": 1000, "offset": offset}).json()["result"]
rows += r["records"]
offset += 1000
if offset >= r["total"]:
break
df = pd.DataFrame(rows).drop(columns="_id")
df["PM10"] = pd.to_numeric(df["PM10"], errors="coerce")
print(df.groupby("Data")["PM10"].mean().round(1).tail())
Terms of use
LicenceEach dataset has its own licence (usually CC BY 4.0) – the license_id field. Credit the source: “City of Rzeszów”.
Freshnessmetadata_modified tells you when a dataset changed and update_frequency how often it is updated. Don’t poll more often than the data changes.
Large downloadsResults are paged: package_search up to 1000 per page (rows + start), datastore_search uses limit + offset. If you need the whole file, download it once instead of making hundreds of requests.
Read onlyThe public API is read-only. Institutions publish data in the CKAN panel.
Found an error?Contact the institution that publishes the dataset – details are in its description.
DCAT / dane.gov.pl
Catalogue metadata in the DCAT-AP standard. The dane.gov.pl harvester and other data catalogues use these endpoints.