Free Course Image Introduction to Programming

Free online courseIntroduction to Programming

Duration of the online course: 8 hours and 48 minutes

5

StarStarStarStarStar

(1)

Kickstart your data science skills with a free programming course in R—learn to clean, transform, visualize data, and prepare for real BI work with practice.

In this free course, learn about

  • CS50R course goals and why R is used for data science workflows
  • How data is represented in R: vectors, factors, data frames, and types
  • Core data transformation with dplyr: select, filter, mutate, summarize, group_by
  • Creating categorical columns with conditional logic (ifelse/case_when) in mutate
  • Writing and using functions in R with the function keyword and parameters
  • Applying functions over data structures (e.g., across/apply/map-style patterns)
  • Tidying data principles and tools: pivot_longer, pivot_wider, separate, unite
  • Sorting data frames, including descending order with arrange(desc(column))
  • Building visualizations with ggplot2, including geom_line for time series
  • Testing programs: catching type errors, validating inputs, and expected behavior
  • Handling invalid inputs (e.g., character vectors to numeric functions) via checks/coercion
  • Packaging programs: package structure, creating directories, and setup commands

Course Description

Programming becomes far more approachable when it is tied to real decisions and real data. This free online course introduces you to programming through R, a language widely used in Data Science and Business Intelligence. Instead of focusing on abstract syntax alone, you will learn how code helps you represent information, ask better questions, and turn raw data into insights you can trust. It is designed for beginners and career-changers who want a practical starting point, as well as professionals who need a structured refresher for data-driven work.

From the start, you will build confidence with core concepts that make data projects work: how data is represented in a computer, how to transform it into usable shapes, and how to apply functions to automate repetitive tasks. Along the way, you develop a clear mental model of working with data frames, writing reusable logic, and choosing the right approach for common problems such as creating new variables from conditions, sorting and filtering information, and preparing datasets so they are consistent and analysis-ready. These are the same fundamentals used daily in analytics roles, from reporting to more advanced modeling workflows.

As you progress, the course guides you into tidying messy datasets and producing clear visualizations that communicate trends and comparisons effectively. You will practice building plots that reveal change over time and patterns across categories, strengthening your ability to translate numbers into stories that stakeholders can understand. You will also learn good habits for writing reliable programs by testing your code and handling unexpected input, an essential step when moving from personal scripts to tools that others can use safely.

To round out the experience, you explore how to package your work, which is a key professional skill for maintaining code, sharing it with teams, and reusing it across projects. By the end, you will have a solid foundation in programming with R for data analysis, plus the workflow mindset that supports clean, understandable, and dependable results in real BI contexts.

Course content

  • Video class: CS50R - Introduction 01m
  • Exercise: What is the main focus of the CS50R course?
  • Video class: CS50R - Lecture 1 - Representing Data 1h39m
  • Exercise: Which of the following is NOT a reason to use the R programming language?
  • Video class: CS50R - Lecture 2 - Transforming Data 1h38m
  • Exercise: In the context of data manipulation in R, suppose you have a data frame with the columns 'product', 'sales', and 'quarter'. You want to categorize sales into 'High' for values above 1000 and 'Low' otherwise. Which of the following code snippets will correctly create a new column named 'sales_category' for this categorization?
  • Video class: CS50R - Lecture 3 - Applying Functions 1h11m
  • Exercise: In R programming, which keyword is used to define a function?
  • Video class: CS50R - Lecture 4 - Tidying Data 1h12m
  • Exercise: What function in R can be used to sort rows of a dataframe in descending order by a specific column, such as 'wind'?
  • Video class: CS50R - Lecture 5 - Visualizing Data 1h15m
  • Exercise: Which geometry would you use in ggplot2 to represent a time series dataset where you want to show the change of a numeric variable over time?
  • Video class: CS50R - Lecture 6 - Testing Programs 57m
  • Exercise: When using the 'average' function in R, what might occur if a user inputs a vector of characters instead of numbers, and how should such a scenario be appropriately handled according to the given content?
  • Video class: CS50R - Lecture 7 - Packaging Programs 51m
  • Exercise: Which of the following commands is used in R to create a new directory for a package?

This free course includes:

8 hours and 48 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

More free courses at Data Science and Business Intelligence

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate