<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>R | Pierre Beaucoral</title><link>https://pierrebeaucoral.github.io/tag/r/</link><atom:link href="https://pierrebeaucoral.github.io/tag/r/index.xml" rel="self" type="application/rss+xml"/><description>R</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Tue, 10 Sep 2024 00:00:00 +0000</lastBuildDate><item><title>R programming for beginners</title><link>https://pierrebeaucoral.github.io/course/r-for-beginners/</link><pubDate>Tue, 10 Sep 2024 00:00:00 +0000</pubDate><guid>https://pierrebeaucoral.github.io/course/r-for-beginners/</guid><description>&lt;h1 id="r-programming-for-beginners"&gt;R programming for beginners&lt;/h1&gt;
&lt;p&gt;This &lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/" target="_blank" rel="noopener"&gt;course website&lt;/a&gt; accompanies the introductory R course taught
in the &lt;strong&gt;Master GPE (CERDI / IHEDD)&lt;/strong&gt;. It is designed for students with &lt;strong&gt;no prior
experience&lt;/strong&gt; of programming or data analysis: 6 sessions of 3 hours (18 hours in total).&lt;/p&gt;
&lt;p&gt;The running thread is a single question, &lt;em&gt;&amp;ldquo;Growth, health and inequality: what do the data
say about developing countries?&amp;rdquo;&lt;/em&gt;, explored with World Bank (WDI) and World Inequality
Database (WID) data.&lt;/p&gt;
&lt;p&gt;Each session page mixes the R code with &lt;strong&gt;charts of the results&lt;/strong&gt;, &lt;strong&gt;diagrams&lt;/strong&gt; of the key
concepts (the pipe, joins, reshaping, how a report is built), short &lt;strong&gt;&amp;ldquo;Key idea&amp;rdquo;&lt;/strong&gt; and
&lt;strong&gt;&amp;ldquo;Common mistake&amp;rdquo;&lt;/strong&gt; boxes, and exercises with collapsible solutions.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="objectives"&gt;Objectives&lt;/h2&gt;
&lt;p&gt;By the end of the course, you will be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Work&lt;/strong&gt; comfortably in R and RStudio.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Import, clean and combine&lt;/strong&gt; real-world datasets.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Describe&lt;/strong&gt; data and estimate simple regressions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Communicate&lt;/strong&gt; results with clear figures, maps and reproducible Quarto reports.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="sessions"&gt;Sessions&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/seances/seance-1.html" target="_blank" rel="noopener"&gt;Getting started with R and RStudio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/seances/seance-2.html" target="_blank" rel="noopener"&gt;Importing and exporting data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/seances/seance-3.html" target="_blank" rel="noopener"&gt;Data manipulation (dplyr, tidyr, joins)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/seances/seance-4.html" target="_blank" rel="noopener"&gt;Descriptive statistics and regression&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/seances/seance-5.html" target="_blank" rel="noopener"&gt;Visualising with ggplot2 (and maps)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/seances/seance-6.html" target="_blank" rel="noopener"&gt;Advanced visualisation and Quarto reports&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Dataviz workshop&lt;/strong&gt; (in French): &lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/slides/atelier-dataviz.html" target="_blank" rel="noopener"&gt;Atelier dataviz, une figure pour la note au ministre&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;See also the &lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/resources.html" target="_blank" rel="noopener"&gt;resources page&lt;/a&gt; for references and data sources.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="before-the-first-session"&gt;Before the first session&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Install &lt;a href="https://cran.r-project.org/" target="_blank" rel="noopener"&gt;R&lt;/a&gt; and then &lt;a href="https://posit.co/download/rstudio-desktop/" target="_blank" rel="noopener"&gt;RStudio Desktop&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download the &lt;a href="https://pierrebeaucoral.github.io/r-for-beginners/data.zip" target="_blank" rel="noopener"&gt;course data archive (data.zip)&lt;/a&gt; and unzip it in a folder you will use for the course.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Last updated: 14 October 2026.&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>