LoslegenKostenlos loslegen

Importing selected columns

It's time to practice importing only a few columns from a file as opposed to importing the entire file. You will be importing the following file:

id,name,val
29192,Robert Whitaker, 200
49301 ,Elisa Waters,190  
34456 , Karla Schmidt,458   

Diese Übung ist Teil des Kurses

Data Manipulation with data.table in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Select "id" and "val" columns
select_columns <- fread("sample.csv", ___)
select_columns
Code bearbeiten und ausführen