Reading Data Example

library(tidyverse)
data1 <- read_csv("/home/inqs/Repos/M408_S23/files/data/data_3_1.csv")
Rows: 1000 Columns: 10── Column specification ────────────────────────────────────────────────────
Delimiter: ","
chr (3): ID1, cat1, cat2
dbl (7): var1, var2, var3, var4, var5, var6, var7
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
data2 <- read_csv("/home/inqs/Repos/M408_S23/files/data/data_3_2.csv")
Rows: 1000 Columns: 5── Column specification ────────────────────────────────────────────────────
Delimiter: ","
chr (3): ID1, ID_1, ID_2
dbl (2): va1, va2
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

Example

Load data data_3_1.csv and data_3_2.csv.

data1