-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdata.qmd
More file actions
32 lines (21 loc) · 1.38 KB
/
Copy pathdata.qmd
File metadata and controls
32 lines (21 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: "Data and code"
date-modified: 'today'
date-format: long
license: CC BY-NC
bibliography: references.bib
---
## Data
All data are readily available for this workshop.
Whenever possible on-board datasets are used. This means you do not have to load any data, but you may have to load a library. For example the `starwars` dataset is part of the {dplyr} package. You may first have to load `library(dplyr)` to access the starwars data frame. Alternatively, you could access the data with the fully verbose *package::object* syntax: `dplyr::starwars`.
Some data sets are imported via the `read_csv` function. You an download the data and code from github (See GitHub icon; right-hand side of this webpage header), expand the zipped file. Then you'll find a data folder with the CSV files used in this workshop. Refer to the [import](import.html) page for tips on importing data.
## Code
You an download the data and code from github (See GitHub icon; right-hand side of this webpage header), expand the zipped file. Double click the Intro2R.Rproj file to launch all of the code directly into an RStudio project.
::: column-margin

:::
Or
Use this link to [the GitHub repo](https://github.com/data-and-visualization/Intro2R "github code repo"),
1. Click the green code button
2. Download ZIP
3. Unzip and double click the `workshop_R-get-started.Rproj` file