Data Carpentry’s aim is to teach researchers basic concepts, skills, and tools for working with data so that they can get more done in less time, and with less pain. The lessons below were designed for those interested in working with data in R.
This is an introduction to harvesting data from the Statistics Denmark, using R. It is designed for participants with a working knowledge of R, at least on the level of our introductory course (R for absolute beginners)[https://kubdatalab.github.io/beginning-R/].
These lessons can be taught in 2 hours. They start with a short refresher of R, introduces what an API is, and how to get data from it, and finishes with calculating summary statistics from that data. A brief introduction to plotting rounds of the course.
This site is a work in progress.
Getting Started
Data Carpentry’s teaching is hands-on, so participants are encouraged to use their own computers to ensure the proper setup of tools for an efficient workflow.
To get started, follow the directions in the “Setup” tab to download data to your computer and follow any installation instructions.
Prerequisites
This lesson requires a working copy of R and RStudio.
To most effectively use these materials, please make sure to install everything before working through this lesson.
For Instructors
If you are teaching this lesson in a workshop, please see the Instructor notes.