Kyle Demes

Canada and the Nordic countries: data and scripts

The numbers and charts behind the post Canada and the Nordic countries: research ties, the North, and open infrastructure. All counts come from the OpenAlex API (CC0), pulled on 24 November 2026. MANIFEST.md maps every number and chart in the post to its script and file. policy_texts.md lists the 28 government texts behind the priority counts in “Why now?”.

Definitions

Priority areas

Each article’s main OpenAlex topic (primary_topic) decides its area, and areas can overlap (wildfire sits inside climate, for example). The Arctic and the North uses the search above. The chart’s rates leave out papers with co-authors in 11 or more countries. Topic and subfield IDs as of November 2026; the same list is AREAS in scripts/defs.py.

Area OpenAlex definition IDs
The Arctic and the North Title and abstract search (Definitions, above) defs.Q
Climate and atmosphere Subfields Atmospheric Science; Global and Planetary Change subfields 1902, 2306
Oceans and fisheries Subfields Oceanography; Aquatic Science subfields 1910, 1104
Wildfire Topic Fire effects on ecosystems T10555
Indigenous health and communities Topics Indigenous Health, Education, and Rights; Indigenous Health and Education; Indigenous Studies and Ecology; Indigenous and Place-Based Education T10348, T13822, T12614, T14007
Mining and mineral processing Topics Extraction and Separation Processes; Minerals Flotation and Separation Techniques; Mineral Processing and Grinding; Mining and Resource Management; Mining Techniques and Economics; Geomechanics and Mining Engineering T11091, T11401, T12282, T11933, T13065, T13772
Mineral geology and geochemistry Topics Geochemistry and Geologic Mapping; Geochemistry and Elemental Analysis T12157, T11740
Clean energy, incl. nuclear Subfields Renewable Energy, Sustainability and the Environment; Nuclear Energy and Engineering subfields 2105, 2104
Quantum technologies Topics Quantum Information and Cryptography; Quantum Computing Algorithms and Architecture; Quantum optics and atomic interactions T10020, T10682, T11414
Artificial intelligence Subfield Artificial Intelligence subfield 1702
Networks and connectivity Subfield Computer Networks and Communications subfield 1705
Space science Topic Ionosphere and magnetosphere dynamics T10159
Space and satellite technology Topics Satellite Communication Systems; Space Satellite Systems and Control; Spacecraft Dynamics and Control; Spacecraft Design and Technology; Space Exploration and Technology T12042, T11701, T11082, T12449, T14214
Security and defence studies Topics Military and Defense Studies; Defense, Military, and Policy Studies; European and Russian Geopolitical Military Strategies; European Politics and Security; Cybersecurity and Cyber Warfare Studies; Arctic and Russian Policy Studies T14086, T12825, T13369, T14302, T12221, T12432

priorities.json also holds two rows the chart doesn’t show: all articles (the 3.9 reference line) and medicine (field 27).

Run order

export OPENALEX_API_KEY=...        # optional; raises the rate limit
cd scripts
python3 pull_pairs.py              # co-author countries by year, 2000-2025, for Canada, each Nordic country, comparators
python3 pull_context.py            # Canada's international share; partner shares on papers with <=10 countries; Greenland's partners
python3 pull_arctic.py             # Arctic and northern articles by partner country, 2000-2025
python3 pull_subfields.py          # articles 2021-2025 by field and subfield
python3 pull_priorities.py         # the priority areas, 2016-2020 and 2021-2025
python3 pull_institutions.py       # institutions and funders on Canada-Nordic articles, 2021-2025
python3 pull_open.py               # open access status of 2024 articles by country
python3 check_arctic.py            # Arctic set: domestic share by year
python3 check_programmes.py        # NordForsk as a funder on Canada-Nordic articles
python3 chart_data.py              # rows behind the three charts (no API calls)
python3 post_numbers.py            # every OpenAlex number in the post, recomputed (no API calls)

Python 3.9 or later, standard library only. oa.py is the shared API helper and defs.py holds the definitions. The pulls make about 1,700 API calls in all; pull_arctic.py is the slowest. OpenAlex updates daily, so a later run will differ a little.

What’s not here, and why

What’s in results/

File What it holds
pairs.json Articles by year (2000-2025) and co-author country for Canada, each Nordic country, Greenland, the Faroe Islands and comparators; nordic_union treats the Nordic region as one block
context.json Share of Canadian articles with a co-author abroad, by year; partner shares on papers with 10 or fewer countries (2000, 2010, 2020, 2025); Greenland’s articles 2021-2025 by co-author country
arctic.json Arctic and northern articles by year and co-author country, for Canada, the Nordic region, Greenland, the US, Russia, the world and core journals
subfields.json Articles 2021-2025 by field and subfield: Canada, the Nordic region, Canada–Nordic (all and 10 or fewer countries), Canada (10 or fewer countries), the world
priorities.json Each priority area in 2016-2020 and 2021-2025: world, Canada, Nordic, Canada–Nordic, Canada–US, and the 10-or-fewer-countries versions
institutions.json Top institutions (per country) and funders on Canada–Nordic articles, 2021-2025, all topics and Arctic only
open.json 2024 articles by country: open access status and copies in a repository
check_arctic.json Canada’s Arctic articles by year: total, domestic only, 10 or fewer countries, and with a Nordic co-author among those
check_programmes.json NordForsk as a credited funder on Canada–Nordic articles, 2016-2025; Arctic Science Partnership institutions co-authoring by year
chart_shares_rows.json, chart_arctic_vs_all_rows.json, chart_priorities_rows.json The rows drawn in charts 1, 2 and 3
post_numbers.json Every OpenAlex number in the post, recomputed by post_numbers.py

Check the headline numbers in a browser

Each link opens live results; the numbers in brackets are what they returned on 24 November.

Reproduction check (27 November 2026)

The published scripts were run again into an empty results/. With the saved API responses, every results file came out identical to the 24 November files, and chart_data.py rebuilt the three charts’ rows exactly. pull_pairs.py went to the live API instead: its counts were about 0.7% lower (Canadian articles in 2025: 111,969 against 112,768; with a Nordic co-author: 5,646 against 5,678), and every share quoted in the post was unchanged at the precision shown. The browser links above returned 1,261 and 207 Arctic articles, 1,412 and 36 quantum articles, and 828 Greenland articles (217 with Canada) on 27 November.

Known limits