![]() Meraviglioso! How about some other nations? India's Distribution of Medals by Sport from 1900-2012 allIndiaMedals = Kingdom's Distribution of Medals by Sport from 1896-2012 allUKMedals = medalsBySport["United States's Distribution of Medals by Sport from 1896-2012 allUSMedals = medalsBySport["United States",#, Switch[#,1904, 9, Distribution of Medals by Sport from 1932-2012 allChinaMedals = olympicyears ĪggregateMedals~SortBy~Last īrazil's Distribution of Medals by Sport from 1920-2012 allBrazilMedals = a Ring on It Italy's Distribution of Medals by Sport from 1896-2012 chartifyMedalsBySport By selecting "Computable Data," the Wolfram Language will create the code I need and give me the results as a list. Luckily, I can easily grab the data in a nice computable form for the Wolfram Language to analyze, using one of the output options available when clicking the + button in the top-right corner of the pod. With that adage in mind, I can't help but wonder: does the size of a nation's population correlate with the success of its Olympians? The United States, China and Russia are fairly populous nations, but how many medals did they win when divided by their population size? But ask any sports fan, from Little League tee-ball to world-class competitions, and you'll hear the same refrain: the entire community goes into the making of an athlete. So the United States walked away with the most total medals. ![]() And with the WolframAlpha function, we can do it right from the comfort of a notebook. It's easy to ask Wolfram|Alpha for the medal count of any prior Olympics, such as the 2012 Summer Olympics in London. Hundreds of questions are on everyone's mind as they watch the competitions, such as, how do smaller countries fare relative to the bigger nations? What is each nation historically good at? How much are those Olympic medals really worth? And with so much of this information already on Wolfram|Alpha, I decided to go ahead and see what I could find by combining Wolfram|Alpha and the Wolfram Language! It Takes a Village Plenty of late nights this week I've found myself, like many others around the world, with my eyes glued to the television and my fingers tightly crossed. It's hard not to get excited by the ceremonies, the history-making and all the data the Olympics generates every two years. Two hundred and six nations and the independent participants of the Refugee Olympic Athletes team have converged on Rio de Janeiro to compete in the Summer Olympics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |