Register
Submit a solution
The challenge is finished.

Challenge Overview

  • The purpose of this challenge is to make our community members to get hands on with R and R Studio (IDE for R)

Introduction

R is an open source environment mainly used for statistical analysis and visualizations. R can also be used to create command line processors, REST APIs, even interactive web dashboards using packages developed by community members.

We are launching this fun challenge to introduce you to R, so that you can make yourself comfortable for the upcoming challenges on R.

R is a very simple programming language and learning R is extremely easy. Are you guys ready to rock and learn? Let’s jump in to the requirements!

Important Note

  • This is a fun challenge. No prize money will be awarded for completing this challenge successfully.

  • 25 T-shirts will be given randomly to the submitters who make a successful submission.
     

Challenge Requirements

  • In this challenge, we will be creating a simple analyzer which will analyse data from the given set of files and generate statistical summary with supporting graphs

  • You will be provided with a starter pack in which you will fill the missing pieces of code to make it a complete analyzer

Dataset

  • We will be using the public dataset about fuel economy for this fun challenge. Subset of the above dataset is provided as part of the starter pack.

What will you learn?

  • How to setup R and R Studio

  • How to read files in R

  • What is dataset and how to create a dataset from the input files

  • How to do basic data analysis on the given dataset

  • How to generate meaningful charts from the given dataset

  • How to use packages dplyr and ggplot2

Learning Steps

  • Download and Install R and R Studio. Installation instructions will vary according to your operating system. If you face any issues while installing R or R studio, please let us know in the forums, we are here to help. R studio serves as an IDE for R.

  • Download the starter pack from forum

  • Learn the basic concepts of R

  • The starter pack code can be run from command line using the command `Rscript analyzer.R` from the root of the project.

  • Fill the missing pieces of code in analyzer.R and read.R, so that the analyzer is complete and expected output files are generated in `output` directory

  • After running `Rscript analyzer.R`, It should print the todo statement and print it’s corresponding output. The generated charts should be saved to the output directory as PNG or JPEG files.

E.g. TODO - Print first 20 rows of the dataset. You will be writing code like

print(“Print 20 rows of the dataset”)

head(dataset, 20)



Final Submission Guidelines

  • After filling the missing pieces of code in the starter pack, zip your code and submit the zip file using the submit link in the challenge.

ELIGIBLE EVENTS:

Topcoder Open 2019

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30093331