Skip to content

nishand17/r-fifa-ratings

Repository files navigation

r-fifa-ratings

Data Visualization of FIFA 15's Player Ratings with R and Java

  • Using [fifaguide's Developer API] (http://tools.fifaguide.com/develop.php), JSON files are retrieved and parsed with Java's JSON API in a separate Java file (see src for ratingRetriever).
  • The data (about 19,000 ratings) is then written onto multiple .csv files
  • With ggplot2 and R's built in capabilities, this data is then visualized into 7 distinct histograms, density plots, and dotplots.

Frameworks and Languages used:

How to Run:

  • In your R console, use the source() function to run each of the R scripts
  • Make sure that the files are in your working directory using dir()
  • If source() does not work, then run each script line by line, making sure library(ggplot2) is ran

Graphs Screenshots:

##ggplot2 Graphs:

Density of Full Dataset

screen shot 2016-08-09 at 1 13 26 pm

### Histogram of Full Dataset

screen shot 2016-08-15 at 2 02 23 pm

### Dotplot of Partial Dataset

screen shot 2016-08-15 at 2 02 36 pm

### FreqPoly with Area fill

screen shot 2016-08-15 at 2 02 30 pm

## R generated Graphs ### Density of Half Dataset

screen shot 2016-08-09 at 1 11 59 pm

### Polygon Density of Half Dataset

screen shot 2016-08-09 at 1 14 30 pm

### Histogram of Half Dataset

screen shot 2016-08-09 at 1 11 36 pm

About

Data Visualization of FIFA 16's Player Ratings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published