Autores activos por rango de edad
curl --request GET \
--url https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/productsimport requests
url = "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"plot": [
{
"name": "14-26",
"percentage": 0.05,
"value": 1
},
{
"name": "27-59",
"percentage": 67.15,
"value": 1439
},
{
"name": "60+",
"percentage": 30.52,
"value": 654
},
{
"name": "Sin información",
"percentage": 2.29,
"value": 49
}
],
"sum": 2143
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 67.14,
"value": 47
},
{
"name": "60+",
"percentage": 32.86,
"value": 23
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 70
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 46.15,
"value": 6
},
{
"name": "60+",
"percentage": 53.85,
"value": 7
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 13
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 72.22,
"value": 26
},
{
"name": "60+",
"percentage": 27.78,
"value": 10
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 36
}
Indicadores
Autores activos por rango de edad
Distribución de autores activos por rango de edad.
GET
/
affiliation
/
{affiliation_type}
/
{affiliation_id}
/
research
/
products
Autores activos por rango de edad
curl --request GET \
--url https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/productsimport requests
url = "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"plot": [
{
"name": "14-26",
"percentage": 0.05,
"value": 1
},
{
"name": "27-59",
"percentage": 67.15,
"value": 1439
},
{
"name": "60+",
"percentage": 30.52,
"value": 654
},
{
"name": "Sin información",
"percentage": 2.29,
"value": 49
}
],
"sum": 2143
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 67.14,
"value": 47
},
{
"name": "60+",
"percentage": 32.86,
"value": 23
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 70
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 46.15,
"value": 6
},
{
"name": "60+",
"percentage": 53.85,
"value": 7
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 13
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 72.22,
"value": 26
},
{
"name": "60+",
"percentage": 27.78,
"value": 10
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 36
}
Distribución de autores activos por rango de edad. Tipo de gráfico: Torta.
Acepta además los filtros de productos. No aplican
Parámetros
string
requerido
Tipo de afiliación. Este indicador devuelve datos con:
institution, faculty, department, group.string
requerido
Identificador de la afiliación.
string
requerido
Debe ser
active_authors_by_age_range.max, page ni sort.
Disponibilidad por tipo de afiliación
affiliation_type | Datos |
|---|---|
institution | ✅ |
faculty | ✅ |
department | ✅ |
group | ✅ |
Respuesta
{
"plot": [
{
"name": "14-26",
"percentage": 0.05,
"value": 1
},
{
"name": "27-59",
"percentage": 67.15,
"value": 1439
},
{
"name": "60+",
"percentage": 30.52,
"value": 654
},
{
"name": "Sin información",
"percentage": 2.29,
"value": 49
}
],
"sum": 2143
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 67.14,
"value": 47
},
{
"name": "60+",
"percentage": 32.86,
"value": 23
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 70
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 46.15,
"value": 6
},
{
"name": "60+",
"percentage": 53.85,
"value": 7
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 13
}
{
"plot": [
{
"name": "14-26",
"percentage": 0.0,
"value": 0
},
{
"name": "27-59",
"percentage": 72.22,
"value": 26
},
{
"name": "60+",
"percentage": 27.78,
"value": 10
},
{
"name": "Sin información",
"percentage": 0.0,
"value": 0
}
],
"sum": 36
}