Índice de recursos
Índice de recursos
Haz click en un elemento de la lista para que se filtren las descargas del grupo correspondiente. Vuelve a hacer clic en un filtro activo para desactivarlo.
Ayudas sociales
Ayudas sociales. Datos desde 2019 |
|
| Formato | CSV |
|---|---|
| Tipo MIME | text/csv |
| Tamaño | 46.0 MB |
| Descargas | 8.078 |
| Tipo de recurso | Datos |
| URL | https://datos.madrid.es/dataset/300350-0-ayudas-sociales/resource/300350-3-ayudas-sociales-csv/download/300350-3-ayudas-sociales-csv.csv |
| Licencia | Creative Commons Attribution 4.0 International (CC BY 4.0) |
API de Datos de CKAN
Accede a los datos del recurso a través de una API web con potentes opciones de consulta. Más información en la documentación principal de la API de Datos y DataStore de CKAN.
Endpoints »
La API de Datos se puede acceder mediante las siguientes acciones de la API de acciones de CKAN.
| Consulta |
https://datos.madrid.es/api/3/action/datastore_search
|
|---|---|
| Consulta (vía SQL) |
https://datos.madrid.es/api/3/action/datastore_search_sql
|
Consultando »
Ejemplo de consulta (primeros 5 resultados)
Ejemplo de consulta (resultados que contienen 'jones')
Ejemplo de consulta (via sentencia SQL)
Ejemplo: Javascript »
Filtrar por valor de campo:
Una simple petición ajax (JSONP) a la API de datos usando jQuery.
var data = {
resource_id: '300350-3-ayudas-sociales-csv', // the resource id
limit: 5, // get 5 results
q: 'jones' // query for 'jones'
};
$.ajax({
url: 'https://datos.madrid.es/api/3/action/datastore_search',
data: data,
dataType: 'jsonp',
success: function(data) {
alert('Total results found: ' + data.result.total)
}
});
Ejemplo: Python »
import urllib
url = 'https://datos.madrid.es/api/3/action/datastore_search?resource_id=300350-3-ayudas-sociales-csv&limit=5&q=title:jones'
fileobj = urllib.urlopen(url)
print fileobj.read()
This resource view is not available at the moment. Haga click aquí para más información.
| Column | Type | Label | Descripción |
|---|---|---|---|
| ikey | text | ||
| id | text | ||
| title | text | ||
| area_id | text | ||
| area_title | text | ||
| municipio_id | text | ||
| municipio_title | text | ||
| adjudicatario_id | text | ||
| adjudicatario_title | text | ||
| entidad_financiadora_id | text | ||
| entidad_financiadora_title | text | ||
| importe | text | ||
| fecha_adjudicacion | text | ||
| linea_financiacion_id | text | ||
| linea_financiacion_title | text | ||
| bases_reguladoras | text | ||
| tipo_instrumento_id | text | ||
| tipo_instrumento_title | text | ||
| aplicacion_presupuestaria_id | text | ||
| aplicacion_presupuestaria_title | text | ||
| nominativa | text | ||
| tipo_procedimiento | text | ||
| naturaleza_juridica_id | text | ||
| naturaleza_juridica_title | text | ||
| proyecto_subvencionado | text | ||
| publicable | text | ||
| id_subvencion | text | ||
| id_convocatoria | text | ||
| FX_CARGA | text |