You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for all the work you put into these. I found a missing column in the country_results_df.
In your README, you show the following columns for country_results_df (see below), but columns 13-14 do not show up in the file we can import for #tidytuesday
country_results_df.csv
column_number
variable
class
description
1
year
integer
Year of IMO
2
country
character
Participating country
3
team_size_all
integer
Participating contestants
4
team_size_male
integer
5
team_size_female
integer
Female contestants
6
p1
integer
Score on problem 1
7
p2
integer
Score on problem 2
8
p3
integer
Score on problem 3
9
p4
integer
Score on problem 4
10
p5
integer
Score on problem 5
11
p6
integer
Score on problem 6
12
p7
integer
Score on problem 7
13
total
integer
Total score on all problems
14
rank
integer
Country rank
15
awards_gold
integer
Number of gold medals
16
awards_silver
integer
Number of silver medals
17
awards_bronze
integer
Number of bronze medals
18
awards_honorable_mentions
integer
Number of honorable mentions
19
leader
character
Leader of country team
20
deputy_leader
character
Deputy leader of country team
You will notice that the total and rank columns are missing below.
The text was updated successfully, but these errors were encountered:
nicolasfoss
changed the title
Missing Column in Week 39 Olympiad Data: country_results_df missing rank
Missing Columns in Week 39 Olympiad Data: country_results_df missing total and rankSep 25, 2024
Since people have already been using the data for a couple days, I remove the column from the dictionary. Thanks for the catch, but changing things can break a lot of people's code, so we try to leave things alone as much as possible once a dataset is released!
@jonthegeek Sorry to be a bother, but I did see you pushed a fix to the readme.md to remove rank, you might also remove total as I updated my issue a few times as I caught that one as well. I just want to be helpful and am thankful for your responsiveness. Have a good one!
Hello, Jon:
First, thanks for all the work you put into these. I found a missing column in the
country_results_df
.In your README, you show the following columns for
country_results_df
(see below), but columns 13-14 do not show up in the file we can import for #tidytuesdaycountry_results_df.csv
You will notice that the
total
andrank
columns are missing below.Below is a snippet from the cleaning script in the README, where the
total
andrank
columns are not selected within the select() statement.Here, I will propose a fix, it is simply an update to the select() statement:
After the initial setup, we can manipulate the data and select
total
andrank
along with the rest of the good stuff.We can see below that
total
andrank
are included, and we are off to the...math competition!Thanks again for all your work on the #tidytuesday project, it is such a great opportunity to learn and grow with others.
Created on 2024-09-25 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: