Resource index
Resource index
Resource index info
Censo de locales, sus actividades y terrazas de hostelería y restauración. Histórico
Actividades. Septiembre 2024 |
|
| Publication date | 13 de septiembre de 2024 |
|---|---|
| Update date | 21 de mayo de 2026 |
| Format | JSON |
| MIME Type | application/json |
| Size | 280.1 MB |
| Downloads | 441 |
| Resource Type | data |
| URL | https://datos.madrid.es/id/id/dataset/209548-0-censo-locales-historico/resource/209548-589-censo-locales-historico-json/download/209548-589-censo-locales-historico-json.json |
| Lisensi | Creative Commons Attribution 4.0 International (CC BY 4.0) |
CKAN Data API
Api Info. Api more info
Endpoints »
Data Api Access
| Kueri |
https://datos.madrid.es/id/api/3/action/datastore_search
|
|---|
Querying »
Query example (first 5 results)
Query example (results containing 'jones')
Contoh: Javascript »
Filter by field value
A simple ajax (JSONP)
var data = {
resource_id: '209548-589-censo-locales-historico-json', // the resource id
limit: 5, // get 5 results
q: 'jones' // query for 'jones'
};
$.ajax({
url: 'https://datos.madrid.es/id/api/3/action/datastore_search',
data: data,
dataType: 'jsonp',
success: function(data) {
alert('Total results found: ' + data.result.total)
}
});
Contoh: Python »
import urllib
url = 'https://datos.madrid.es/id/api/3/action/datastore_search?resource_id=209548-589-censo-locales-historico-json&limit=5&q=title:jones'
fileobj = urllib.urlopen(url)
print fileobj.read()