Distribution of citations among departments
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": "Departamento de Farmacia",
"percentage": 10.45,
"value": 147
},
{
"name": "Sección de Medicina Deportiva",
"percentage": 7.39,
"value": 104
},
{
"name": "Departamento de Morfología",
"percentage": 6.33,
"value": 89
},
{
"name": "Departamento Atención Odontológica Integrada",
"percentage": 6.33,
"value": 89
}
],
"sum": 1407
}
{
"plot": [
{
"name": "Centro de Educación A Distancia",
"percentage": 84.48,
"value": 49
},
{
"name": "Departamento de Extensión y Educación A Distancia",
"percentage": 10.34,
"value": 6
},
{
"name": "Departamento de Pedagogía",
"percentage": 3.45,
"value": 2
},
{
"name": "Decanatura Facultad de Educación",
"percentage": 1.72,
"value": 1
}
],
"sum": 58
}
Indicators
Distribution of citations among departments
Distribution of citations among departments.
GET
/
affiliation
/
{affiliation_type}
/
{affiliation_id}
/
research
/
products
Distribution of citations among departments
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": "Departamento de Farmacia",
"percentage": 10.45,
"value": 147
},
{
"name": "Sección de Medicina Deportiva",
"percentage": 7.39,
"value": 104
},
{
"name": "Departamento de Morfología",
"percentage": 6.33,
"value": 89
},
{
"name": "Departamento Atención Odontológica Integrada",
"percentage": 6.33,
"value": 89
}
],
"sum": 1407
}
{
"plot": [
{
"name": "Centro de Educación A Distancia",
"percentage": 84.48,
"value": 49
},
{
"name": "Departamento de Extensión y Educación A Distancia",
"percentage": 10.34,
"value": 6
},
{
"name": "Departamento de Pedagogía",
"percentage": 3.45,
"value": 2
},
{
"name": "Decanatura Facultad de Educación",
"percentage": 1.72,
"value": 1
}
],
"sum": 58
}
Distribution of citations among departments. Chart type: Pie.
It also accepts the product filters.
Parameters
string
required
Affiliation type. This indicator returns data for:
institution, faculty.string
required
Affiliation identifier.
string
required
Must be
citations_by_department.max, page and sort do not apply.
Availability by affiliation type
affiliation_type | Data |
|---|---|
institution | ✅ |
faculty | ✅ |
department | No data |
group | No data |
Response
{
"plot": [
{
"name": "Departamento de Farmacia",
"percentage": 10.45,
"value": 147
},
{
"name": "Sección de Medicina Deportiva",
"percentage": 7.39,
"value": 104
},
{
"name": "Departamento de Morfología",
"percentage": 6.33,
"value": 89
},
{
"name": "Departamento Atención Odontológica Integrada",
"percentage": 6.33,
"value": 89
}
],
"sum": 1407
}
{
"plot": [
{
"name": "Centro de Educación A Distancia",
"percentage": 84.48,
"value": 49
},
{
"name": "Departamento de Extensión y Educación A Distancia",
"percentage": 10.34,
"value": 6
},
{
"name": "Departamento de Pedagogía",
"percentage": 3.45,
"value": 2
},
{
"name": "Decanatura Facultad de Educación",
"percentage": 1.72,
"value": 1
}
],
"sum": 58
}