GithubHelp home page GithubHelp logo

jedfarm / city-and-country-code-for-atp-matches-data Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.87 MB

Data preprocessing for a Tableau visualization project

Python 100.00%
atp-matches tableau python-script

city-and-country-code-for-atp-matches-data's Introduction

City-and-Country-Code-for-ATP-Matches-Data

The python scripts in this repository are intended to process the .csv files obtained from https://github.com/JeffSackmann/tennis_atp.git Of all the data available there, we just used the files with names atp_matches_2000.csv through atp_matches_2017.csv

The goal is generating a single .csv file with the ATP matches from 2000 to 2017, just for levels G, M, F, and A. We wanted to add the names of the cities and the code of the countries they belong to, that way we can use them on a map. The data processed with these files were used in a visualization project using Tableau (https://public.tableau.com/views/atp_2000_2017/Story1?:embed=y&:display_count=yes)

Files:

  • atp_matches_union_updated.py (Takes the .csv files of interest and joins them, also making some fixing in the process. Take into account that it will merge all the .csv files contained in the target directory)
  • generate_city_country.py (Uses the file generated by the above script and adds city and country info. This file is not still optimized for performance)
  • atp_tourney_locations.csv (utility file, used by generate_city_country.py)
  • atp_tour_tournaments_2000_2017.csv (dataset generated using the python scripts)
  • FinalProjectTableau.pdf (where the story of how the Tableau presentation was assembled)

city-and-country-code-for-atp-matches-data's People

Contributors

jedfarm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.