Resource index
Resource index
Resource index info
Policía Municipal. Datos estadísticos actuaciones Policía Municipal
Actuaciones Policía Municipal. Abril 2017 |
|
| Publication date | 26 de mayo de 2017 |
|---|---|
| Update date | 24 de abril de 2026 |
| Format | XLS |
| MIME Type | application/vnd.ms-excel |
| Size | 64.0 KB |
| Downloads | 1.904 |
| Resource Type | data |
| URL | https://datos.madrid.es/id/id/dataset/212616-0-policia-estadisticas/resource/212616-83-policia-estadisticas-xls/download/212616-83-policia-estadisticas-xls.xls |
| 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: '212616-83-policia-estadisticas-xls', // 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=212616-83-policia-estadisticas-xls&limit=5&q=title:jones'
fileobj = urllib.urlopen(url)
print fileobj.read()