Lessons for the 2023 version of the Center for Health Journalism's Data Fellowship.
With these lessons we'll learn about:
- Basics of R, RStudio and Quarto
- Importing, cleaning and exporting data
- Basic data wrangling
- working with text
- Shaping data
- Visualizing data
- Project management
You need to have both R and RStudio Desktop installed on your computer. Hopefully this is already done.
- You can find the installers here. You need both R and RStudio.
- If on a Mac, make sure you install RStudio into your Applications folder.
There is a chance we might have to install Quarto CLI, but don't worry about it unless we need it. If we have challenges wih Macs installing xcode-cli tools, I have a copy here.
Now we'll download the course materials for the first couple of days of class. They are stored on Github.
- Go to the repo on Github: github.com/r-journalism/chjr23
- Click on the big green Code button and choose Download zip.
- Find the downloaded file and unzip the folder. Mac: Double-click on it. PC directions here
- Move the unzipped folder to your Desktop (or some other place you can find it).
- Go back to RStudio and go to File > Open Project. Go find your folder and open the file
chjr23.Rproj
.
For at least the first couple of days we'll use web-published versions of the lessons to read as we work through practice notebooks in the project.
- Day 3: Tidying data
- Day 4: Visualizing data