Resource index
Resource index
Resource index info
Presupuestos. Ejecución anual histórico
001 Ayuntamiento de Madrid. Ingresos 2012 |
|
| Publication date | 4 de febrero de 2015 |
|---|---|
| Format | XLS |
| MIME Type | application/vnd.ms-excel |
| Size | 54.0 KB |
| Downloads | 1.888 |
| Resource Type | data |
| URL | https://datos.madrid.es/id/id/dataset/211496-0-ejecucion-presupuestaria-histori/resource/211496-29-ejecucion-presupuestaria-histori-xls/download/211496-29-ejecucion-presupuestaria-histori-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: '211496-29-ejecucion-presupuestaria-histori-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=211496-29-ejecucion-presupuestaria-histori-xls&limit=5&q=title:jones'
fileobj = urllib.urlopen(url)
print fileobj.read()