Provide geoinformation for institutions
We would like to search for data from specific locations like "Lower Saxony", "North Rhine-Westphalia" to be able to separate between resources from the state initiatives.
In the ror API, there is already information about geolocations - see for example https://api.ror.org/organizations?query=TIB
...
{
"id": "https://ror.org/04aj4c181",
"name": "Technische Informationsbibliothek (TIB)",
"addresses": [
{
"lat": 52.37052,
"lng": 9.73322,
"state": null,
"state_code": null,
"city": "Hanover",
"geonames_city": {
"id": 2910831,
"city": "Hanover",
"geonames_admin1": {
"name": "Lower Saxony",
"id": 2862926,
"ascii_name": "Lower Saxony",
"code": "DE.06"
},
"geonames_admin2": {
"name": null,
"id": null,
"ascii_name": null,
"code": "DE.06.00"
},
"license": {
"attribution": "Data from geonames.org under a CC-BY 3.0 license",
"license": "http://creativecommons.org/licenses/by/3.0/"
},
"nuts_level1": {
"name": null,
"code": null
},
"nuts_level2": {
"name": null,
"code": null
},
"nuts_level3": {
"name": null,
"code": null
}
},
"postcode": null,
"primary": false,
"line": null,
"country_geonames_id": 2921044
}
],
"country": {
"country_name": "Germany",
"country_code": "DE"
},
...
=> we could start and use this geodata from ror for the resources with already known ror.
In a second step, we could try to map the existing institutions without ror-id in OERSI to the corresponding ror-id.
First idea for an approach in OERSI: we could build a second, independent index / data-set that just provides the geolocation-data for the institutions. This could be build as "cache" for queries to the ror-api / fixed mapping. We could use this geolocation-data in the internal institutions
field for a first proof-of-concept -> this would make it easier to query instead of using multiple complex queries (find institutions for location, use this institutioions in the query)