Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📊 homicide: Fix UK values #3590

Merged
merged 8 commits into from
Nov 21, 2024
Merged

📊 homicide: Fix UK values #3590

merged 8 commits into from
Nov 21, 2024

Conversation

spoonerf
Copy link
Contributor

No description provided.

@owidbot
Copy link
Contributor

owidbot commented Nov 21, 2024

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-unodc-uk

chart-diff: ✅ No charts for review.
data-diff: ❌ Found differences
= Dataset garden/homicide/2024-10-30/unodc
  = Table by_mechanisms
    ~ Dim country
-       - Removed values: 86 / 9014 (0.95%)
           year                                  category   sex   age         unit_of_measurement        country
           2005                         unspecified means Total Total                      Counts United Kingdom
           2007                         unspecified means Total Total Rate per 100,000 population United Kingdom
           2015                    firearms or explosives Total Total Rate per 100,000 population United Kingdom
           2019                            a sharp object Total Total Rate per 100,000 population United Kingdom
           2022  without a weapon or by another mechanism Total Total                      Counts United Kingdom
    ~ Dim year
-       - Removed values: 86 / 9014 (0.95%)
                 country                                  category   sex   age         unit_of_measurement  year
          United Kingdom                         unspecified means Total Total                      Counts  2005
          United Kingdom                         unspecified means Total Total Rate per 100,000 population  2007
          United Kingdom                    firearms or explosives Total Total Rate per 100,000 population  2015
          United Kingdom                            a sharp object Total Total Rate per 100,000 population  2019
          United Kingdom  without a weapon or by another mechanism Total Total                      Counts  2022
    ~ Dim category
-       - Removed values: 86 / 9014 (0.95%)
                 country  year   sex   age         unit_of_measurement                                  category
          United Kingdom  2005 Total Total                      Counts                         unspecified means
          United Kingdom  2007 Total Total Rate per 100,000 population                         unspecified means
          United Kingdom  2015 Total Total Rate per 100,000 population                    firearms or explosives
          United Kingdom  2019 Total Total Rate per 100,000 population                            a sharp object
          United Kingdom  2022 Total Total                      Counts  without a weapon or by another mechanism
    ~ Dim sex
-       - Removed values: 86 / 9014 (0.95%)
                 country  year                                  category   age         unit_of_measurement   sex
          United Kingdom  2005                         unspecified means Total                      Counts Total
          United Kingdom  2007                         unspecified means Total Rate per 100,000 population Total
          United Kingdom  2015                    firearms or explosives Total Rate per 100,000 population Total
          United Kingdom  2019                            a sharp object Total Rate per 100,000 population Total
          United Kingdom  2022  without a weapon or by another mechanism Total                      Counts Total
    ~ Dim age
-       - Removed values: 86 / 9014 (0.95%)
                 country  year                                  category   sex         unit_of_measurement   age
          United Kingdom  2005                         unspecified means Total                      Counts Total
          United Kingdom  2007                         unspecified means Total Rate per 100,000 population Total
          United Kingdom  2015                    firearms or explosives Total Rate per 100,000 population Total
          United Kingdom  2019                            a sharp object Total Rate per 100,000 population Total
          United Kingdom  2022  without a weapon or by another mechanism Total                      Counts Total
    ~ Dim unit_of_measurement
-       - Removed values: 86 / 9014 (0.95%)
                 country  year                                  category   sex   age         unit_of_measurement
          United Kingdom  2005                         unspecified means Total Total                      Counts
          United Kingdom  2007                         unspecified means Total Total Rate per 100,000 population
          United Kingdom  2015                    firearms or explosives Total Total Rate per 100,000 population
          United Kingdom  2019                            a sharp object Total Total Rate per 100,000 population
          United Kingdom  2022  without a weapon or by another mechanism Total Total                      Counts
    ~ Column value (changed data)
-       - Removed values: 86 / 9014 (0.95%)
                 country  year                                  category   sex   age         unit_of_measurement     value
          United Kingdom  2005                         unspecified means Total Total                      Counts       4.0
          United Kingdom  2007                         unspecified means Total Total Rate per 100,000 population  0.006529
          United Kingdom  2015                    firearms or explosives Total Total Rate per 100,000 population  0.007666
          United Kingdom  2019                            a sharp object Total Total Rate per 100,000 population  0.062894
          United Kingdom  2022  without a weapon or by another mechanism Total Total                      Counts       8.0
        ~ Changed values: 96 / 9014 (1.07%)
                 country  year                          category   sex   age         unit_of_measurement   value -   value +
          United Kingdom  2008                    a sharp object Total Total                      Counts      58.0     314.0
          United Kingdom  2012                    a sharp object Total Total                      Counts      31.0     225.0
          United Kingdom  2015                 unspecified means Total Total Rate per 100,000 population  0.010732  0.055194
          United Kingdom  2017 Firearms or explosives - firearms Total Total                      Counts       4.0      32.0
          United Kingdom  2018                 unspecified means Total Total                      Counts       9.0      79.0
  = Table by_situational_context
  = Table total
    ~ Dim country
-       - Removed values: 380 / 44146 (0.86%)
           year category    sex          age         unit_of_measurement        country
           2012    Total   Male       15 -17                      Counts United Kingdom
           2019    Total Female          0-9 Rate per 100,000 population United Kingdom
           2020    Total Female 60 and older Rate per 100,000 population United Kingdom
           2020    Total   Male       10 -14                      Counts United Kingdom
           2021    Total Female        30-44 Rate per 100,000 population United Kingdom
    ~ Dim year
-       - Removed values: 380 / 44146 (0.86%)
                 country category    sex          age         unit_of_measurement  year
          United Kingdom    Total   Male       15 -17                      Counts  2012
          United Kingdom    Total Female          0-9 Rate per 100,000 population  2019
          United Kingdom    Total Female 60 and older Rate per 100,000 population  2020
          United Kingdom    Total   Male       10 -14                      Counts  2020
          United Kingdom    Total Female        30-44 Rate per 100,000 population  2021
    ~ Dim category
-       - Removed values: 380 / 44146 (0.86%)
                 country  year    sex          age         unit_of_measurement category
          United Kingdom  2012   Male       15 -17                      Counts    Total
          United Kingdom  2019 Female          0-9 Rate per 100,000 population    Total
          United Kingdom  2020 Female 60 and older Rate per 100,000 population    Total
          United Kingdom  2020   Male       10 -14                      Counts    Total
          United Kingdom  2021 Female        30-44 Rate per 100,000 population    Total
    ~ Dim sex
-       - Removed values: 380 / 44146 (0.86%)
                 country  year category          age         unit_of_measurement    sex
          United Kingdom  2012    Total       15 -17                      Counts   Male
          United Kingdom  2019    Total          0-9 Rate per 100,000 population Female
          United Kingdom  2020    Total 60 and older Rate per 100,000 population Female
          United Kingdom  2020    Total       10 -14                      Counts   Male
          United Kingdom  2021    Total        30-44 Rate per 100,000 population Female
    ~ Dim age
-       - Removed values: 380 / 44146 (0.86%)
                 country  year category    sex         unit_of_measurement          age
          United Kingdom  2012    Total   Male                      Counts       15 -17
          United Kingdom  2019    Total Female Rate per 100,000 population          0-9
          United Kingdom  2020    Total Female Rate per 100,000 population 60 and older
          United Kingdom  2020    Total   Male                      Counts       10 -14
          United Kingdom  2021    Total Female Rate per 100,000 population        30-44
    ~ Dim unit_of_measurement
-       - Removed values: 380 / 44146 (0.86%)
                 country  year category    sex          age         unit_of_measurement
          United Kingdom  2012    Total   Male       15 -17                      Counts
          United Kingdom  2019    Total Female          0-9 Rate per 100,000 population
          United Kingdom  2020    Total Female 60 and older Rate per 100,000 population
          United Kingdom  2020    Total   Male       10 -14                      Counts
          United Kingdom  2021    Total Female        30-44 Rate per 100,000 population
    ~ Column value (changed data)
-       - Removed values: 380 / 44146 (0.86%)
                 country  year category    sex          age         unit_of_measurement     value
          United Kingdom  2012    Total   Male       15 -17                      Counts       0.0
          United Kingdom  2019    Total Female          0-9 Rate per 100,000 population  0.001497
          United Kingdom  2020    Total Female 60 and older Rate per 100,000 population  0.007456
          United Kingdom  2020    Total   Male       10 -14                      Counts       0.0
          United Kingdom  2021    Total Female        30-44 Rate per 100,000 population  0.008918
        ~ Changed values: 378 / 44146 (0.86%)
                 country  year category    sex          age         unit_of_measurement   value -   value +
          United Kingdom  2012    Total   Male        Total Rate per 100,000 population  0.108136   0.69583
          United Kingdom  2015    Total   Male        20-24 Rate per 100,000 population  0.010732  0.075125
          United Kingdom  2016    Total   Male        45-59 Rate per 100,000 population  0.022847  0.167542
          United Kingdom  2017    Total   Male 60 and older Rate per 100,000 population  0.007568  0.095361
          United Kingdom  2020    Total Female        Total                      Counts      17.0     174.0
  = Table by_relationship_to_perpetrator
    ~ Dim country
-       - Removed values: 242 / 21556 (1.12%)
           year                                                          category    sex   age         unit_of_measurement        country
           2009 Perpetrator is an intimate partner or family member of the victim Female Total Rate per 100,000 population United Kingdom
           2013                       the relationship to the victim is not known  Total Total Rate per 100,000 population United Kingdom
           2015                       the relationship to the victim is not known   Male Total Rate per 100,000 population United Kingdom
           2015                       the relationship to the victim is not known  Total Total                      Counts United Kingdom
           2018                                         Another known perpetrator Female Total Rate per 100,000 population United Kingdom
    ~ Dim year
-       - Removed values: 242 / 21556 (1.12%)
                 country                                                          category    sex   age         unit_of_measurement  year
          United Kingdom Perpetrator is an intimate partner or family member of the victim Female Total Rate per 100,000 population  2009
          United Kingdom                       the relationship to the victim is not known  Total Total Rate per 100,000 population  2013
          United Kingdom                       the relationship to the victim is not known   Male Total Rate per 100,000 population  2015
          United Kingdom                       the relationship to the victim is not known  Total Total                      Counts  2015
          United Kingdom                                         Another known perpetrator Female Total Rate per 100,000 population  2018
    ~ Dim category
-       - Removed values: 242 / 21556 (1.12%)
                 country  year    sex   age         unit_of_measurement                                                          category
          United Kingdom  2009 Female Total Rate per 100,000 population Perpetrator is an intimate partner or family member of the victim
          United Kingdom  2013  Total Total Rate per 100,000 population                       the relationship to the victim is not known
          United Kingdom  2015   Male Total Rate per 100,000 population                       the relationship to the victim is not known
          United Kingdom  2015  Total Total                      Counts                       the relationship to the victim is not known
          United Kingdom  2018 Female Total Rate per 100,000 population                                         Another known perpetrator
    ~ Dim sex
-       - Removed values: 242 / 21556 (1.12%)
                 country  year                                                          category   age         unit_of_measurement    sex
          United Kingdom  2009 Perpetrator is an intimate partner or family member of the victim Total Rate per 100,000 population Female
          United Kingdom  2013                       the relationship to the victim is not known Total Rate per 100,000 population  Total
          United Kingdom  2015                       the relationship to the victim is not known Total Rate per 100,000 population   Male
          United Kingdom  2015                       the relationship to the victim is not known Total                      Counts  Total
          United Kingdom  2018                                         Another known perpetrator Total Rate per 100,000 population Female
    ~ Dim age
-       - Removed values: 242 / 21556 (1.12%)
                 country  year                                                          category    sex         unit_of_measurement   age
          United Kingdom  2009 Perpetrator is an intimate partner or family member of the victim Female Rate per 100,000 population Total
          United Kingdom  2013                       the relationship to the victim is not known  Total Rate per 100,000 population Total
          United Kingdom  2015                       the relationship to the victim is not known   Male Rate per 100,000 population Total
          United Kingdom  2015                       the relationship to the victim is not known  Total                      Counts Total
          United Kingdom  2018                                         Another known perpetrator Female Rate per 100,000 population Total
    ~ Dim unit_of_measurement
-       - Removed values: 242 / 21556 (1.12%)
                 country  year                                                          category    sex   age         unit_of_measurement
          United Kingdom  2009 Perpetrator is an intimate partner or family member of the victim Female Total Rate per 100,000 population
          United Kingdom  2013                       the relationship to the victim is not known  Total Total Rate per 100,000 population
          United Kingdom  2015                       the relationship to the victim is not known   Male Total Rate per 100,000 population
          United Kingdom  2015                       the relationship to the victim is not known  Total Total                      Counts
          United Kingdom  2018                                         Another known perpetrator Female Total Rate per 100,000 population
    ~ Column value (changed data)
-       - Removed values: 242 / 21556 (1.12%)
                 country  year                                                          category    sex   age         unit_of_measurement     value
          United Kingdom  2009 Perpetrator is an intimate partner or family member of the victim Female Total Rate per 100,000 population  0.019279
          United Kingdom  2013                       the relationship to the victim is not known  Total Total Rate per 100,000 population  0.015552
          United Kingdom  2015                       the relationship to the victim is not known   Male Total Rate per 100,000 population  0.001533
          United Kingdom  2015                       the relationship to the victim is not known  Total Total                      Counts       2.0
          United Kingdom  2018                                         Another known perpetrator Female Total Rate per 100,000 population  0.006021
        ~ Changed values: 196 / 21556 (0.91%)
                 country  year                           category    sex   age         unit_of_measurement   value -   value +
          United Kingdom  2010 Perpetrator is an intimate partner  Total Total                      Counts      21.0     134.0
          United Kingdom  2012 Perpetrator is an intimate partner Female Total Rate per 100,000 population  0.009403  0.131643
          United Kingdom  2015 Perpetrator is an intimate partner   Male Total Rate per 100,000 population    0.0046  0.030663
          United Kingdom  2017     Perpetrator is a family member   Male Total Rate per 100,000 population  0.004541  0.040869
          United Kingdom  2020 Perpetrator is an intimate partner  Total Total Rate per 100,000 population  0.014912  0.117806


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

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

Edited: 2024-11-21 22:02:44 UTC
Execution time: 15.00 seconds

@spoonerf spoonerf marked this pull request as ready for review November 21, 2024 21:50
@spoonerf spoonerf merged commit 6fd00aa into master Nov 21, 2024
7 of 8 checks passed
@spoonerf spoonerf deleted the unodc-uk branch November 21, 2024 22:06
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