Skip to content

Comments

📊 lexical index: add new indicators#5639

Merged
lucasrodes merged 7 commits intomasterfrom
data-lexicalindex-indicators
Feb 13, 2026
Merged

📊 lexical index: add new indicators#5639
lucasrodes merged 7 commits intomasterfrom
data-lexicalindex-indicators

Conversation

@lucasrodes
Copy link
Member

@lucasrodes lucasrodes commented Feb 9, 2026

Derive new indicators for the Lexical Index dataset.

ref https://github.com/owid/owid-issues/issues/2301

@owidbot
Copy link
Contributor

owidbot commented Feb 9, 2026

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-data-lexicalindex-indicators

chart-diff: ✅
  • 7/7 reviewed charts
  • Modified: 0/0
  • New: 7/7
  • Rejected: 0
  • Data changes: 0
  • Metadata changes: 0
data-diff: ❌ Found differences
= Dataset garden/democracy/2025-06-26/lexical_index
  = Table lexical_index
+   + Column exe_leg_elec_lied
+   + Column recent_turnover_event_lied
+   + Column suffrage_in_practice_lied
    ~ Column turnover_event (changed metadata)
-       - title: Turnover event
+       + title: Electoral turnover event
    ~ Column turnover_period (changed metadata)
-       - title: Turnover period
+       + title: Electoral turnover period
    ~ Column two_turnover_period (changed metadata)
-       - title: Two-turnover period
+       + title: Two-electoral-turnover period
  = Table region_aggregates
    ~ Column num_breakdown_type (changed data)
        ~ Changed values: 183 / 46179 (0.40%)
                country  year category  num_breakdown_type -  num_breakdown_type +
                 Europe  1807        0                    32                    34
                 Europe  1822        0                    39                    41
          North America  1844        0                    13                    14
          North America  1848        0                    13                    14
          North America  1923        0                    17                    18
    ~ Column num_democracy_lied (changed data)
        ~ Changed values: 183 / 46179 (0.40%)
                country  year  category  num_democracy_lied -  num_democracy_lied +
                 Europe  1807 autocracy                    32                    34
                 Europe  1822 autocracy                    39                    41
          North America  1844 autocracy                    13                    14
          North America  1848 autocracy                    13                    14
          North America  1923 autocracy                    16                    17
+   + Column num_exe_leg_elec_lied
    ~ Column num_group_age_electdem_lied (changed data)
        ~ Changed values: 234 / 46179 (0.51%)
                country  year                                        category  num_group_age_electdem_lied -  num_group_age_electdem_lied +
                 Europe  1855 multi-party autocracy without elected executive                             22                             23
          North America  1836 multi-party autocracy without elected executive                              1                              2
          North America  1889 multi-party autocracy without elected executive                              3                              4
          North America  1912                             exclusive democracy                              3                              4
          North America  1920                             exclusive democracy                              2                              3
    ~ Column num_group_age_polyarchy_lied (changed data)
        ~ Changed values: 234 / 46179 (0.51%)
                country  year                                        category  num_group_age_polyarchy_lied -  num_group_age_polyarchy_lied +
                 Europe  1855 multi-party autocracy without elected executive                              22                              23
          North America  1836 multi-party autocracy without elected executive                               1                               2
          North America  1889 multi-party autocracy without elected executive                               3                               4
          North America  1912                             exclusive democracy                               3                               4
          North America  1920                             exclusive democracy                               2                               3
    ~ Column num_is_electoral_democracy (changed data)
        ~ Changed values: 183 / 46179 (0.40%)
                country  year category  num_is_electoral_democracy -  num_is_electoral_democracy +
                 Europe  1807       no                            32                            34
                 Europe  1822       no                            39                            41
          North America  1844       no                            13                            14
          North America  1848       no                            13                            14
          North America  1923       no                            16                            17
    ~ Column num_is_full_democracy (changed data)
        ~ Changed values: 183 / 46179 (0.40%)
                country  year category  num_is_full_democracy -  num_is_full_democracy +
                 Europe  1807       no                       32                       34
                 Europe  1822       no                       39                       41
          North America  1844       no                       13                       14
          North America  1848       no                       13                       14
          North America  1923       no                       17                       18
+   + Column num_recent_turnover_event_lied
    ~ Column num_regime_lied (changed data)
        ~ Changed values: 234 / 46179 (0.51%)
                country  year                                        category  num_regime_lied -  num_regime_lied +
                 Europe  1855 multi-party autocracy without elected executive                 22                 23
          North America  1836 multi-party autocracy without elected executive                  1                  2
          North America  1889 multi-party autocracy without elected executive                  3                  4
          North America  1912                             exclusive democracy                  3                  4
          North America  1920                             exclusive democracy                  2                  3
+   + Column num_suffrage_in_practice_lied
    ~ Column num_suffrage_lied (changed data)
        ~ Changed values: 183 / 46179 (0.40%)
                country  year    category  num_suffrage_lied -  num_suffrage_lied +
                 Europe  1807 no suffrage                   32                   34
                 Europe  1822 no suffrage                   39                   41
          North America  1844 no suffrage                   13                   14
          North America  1848 no suffrage                   12                   13
          North America  1923 no suffrage                    9                   10
    ~ Column num_transition_type (changed data)
        ~ Changed values: 183 / 46179 (0.40%)
                country  year category  num_transition_type -  num_transition_type +
                 Europe  1807        0                     32                     34
                 Europe  1822        0                     39                     41
          North America  1844        0                     13                     14
          North America  1848        0                     13                     14
          North America  1923        0                     17                     18
    ~ Column num_turnover_event (changed metadata, changed data)
-       -   Number of countries with turnover event status
+       +   Number of countries with electoral turnover event status
-       -   Number of countries that did NOT experience a turnover event
+       +   Number of countries that did NOT experience an electoral turnover event
-       -   Number of countries that experienced a turnover event
+       +   Number of countries that experienced an electoral turnover event

        ~ Changed values: 183 / 46179 (0.40%)
                country  year category  num_turnover_event -  num_turnover_event +
                 Europe  1807       no                    32                    34
                 Europe  1822       no                    39                    41
          North America  1844       no                    12                    13
          North America  1848       no                    12                    13
          North America  1923       no                    16                    17
+   + Column num_turnover_period
+   + Column pop_exe_leg_elec_lied
+   + Column pop_recent_turnover_event_lied
+   + Column pop_suffrage_in_practice_lied
    ~ Column pop_turnover_event (changed metadata)
-       -   People living in countries with turnover event status
+       +   People living in countries with electoral turnover event status
-       -   People living in countries that did NOT experience a turnover event
+       +   People living in countries that did NOT experience an electoral turnover event
-       -   People living in countries that experienced a turnover event
+       +   People living in countries that experienced an electoral turnover event
+   + Column pop_turnover_period


Legend: +New  ~Modified  -Removed  =Identical  Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet

Automatically updated datasets matching excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included

Edited: 2026-02-13 10:11:08 UTC
Execution time: 5.19 seconds

@lucasrodes lucasrodes marked this pull request as ready for review February 10, 2026 12:24
@lucasrodes lucasrodes merged commit cc250b2 into master Feb 13, 2026
5 checks passed
@lucasrodes lucasrodes deleted the data-lexicalindex-indicators branch February 13, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants