WEEK 1: Programming and Data analytics Flashcards
Syntax
Shows you how to arrange the words and symbols you enter so they make sense to a computer.
Coding
Is writing instructions to the computer in the syntax of a specific programming language.
Programming helps you
Clarify the steps of your analysis (When you’re telling a computer what to do, your instructions have to be very clear.)
Saves time (With one line of code, you can create a separate dataset without any missing values.)
Lets you easily reproduce and share your work (Code automatically stores all of the steps of your analysis so you can reproduce, and share your work at anytime in the future)
What is R ?
Is a programming language frequently used for statistical analysis, visualization and other data analysis.
Reasons why people who work with data love R
Accessible ( It’s specifically designed to make data analysis easier, more efficient and more powerful.)
Data-centric (appeals to anyone who wants to solve problems that involve data.)
Open-source and (First anyone can use R for free. Second, anyone can modify the code, fix bugs and improve it.)
Has an active community of users (Check out websites like R for Data Science Online Learning Community and RStudio Community.)
Specific situations when you might use it for data analysis
reproducing your analysis, processing lots of data, and creating data visualizations.
There are two main ways of writing code in RStudio
Using the console or using the source editor.