1 Introduction To Vroom | _main.utf8

Load the prior command into a variable called vr_transactions

vr_transactions <-vroom("/usr/share/class/files/transactions_1.csv", id = "file_name") ## Observations: 50,000 ## Variables: 15 ## chr [4]: customer_name, customer_phone, date_month_name, date_day ## dbl [9]: order_id, customer_id, customer_cc, customer_lon, customer_lat, date_year, date_... ## date [1]: date ## ## Call `spec()` for a copy-pastable column specification ## Specify the column types with `col_types` to quiet this message vr_transactions ## # A tibble: 50,000 x 15 ## file_name order_id customer_id customer_name customer_phone customer_cc ## <chr> <dbl> <dbl> <chr> <chr> <dbl> ## 1 /usr/sha… 1001 22 Dr. Birdie K… 684.226.0455 6.01e18 ## 2 /usr/sha… 1001 22 Dr. Birdie K… 684.226.0455 6.01e18 ## 3 /usr/sha… 1001 22 Dr. Birdie K… 684.226.0455 6.01e18 ## 4 /usr/sha… 1001 22 Dr. Birdie K… 684.226.0455 6.01e18 ## 5 /usr/sha… 1002 6 Meggan Bruen 326-151-4331 4.96e15 ## 6 /usr/sha… 1002 6 Meggan Bruen 326-151-4331 4.96e15 ## 7 /usr/sha… 1002 6 Meggan Bruen 326-151-4331 4.96e15 ## 8 /usr/sha… 1002 6 Meggan Bruen 326-151-4331 4.96e15 ## 9 /usr/sha… 1003 80 Jessee Rodri… 539.176.3896 4.50e12 ## 10 /usr/sha… 1003 80 Jessee Rodri… 539.176.3896 4.50e12 ## # … with 49,990 more rows, and 9 more variables: customer_lon <dbl>, ## # customer_lat <dbl>, date <date>, date_year <dbl>, date_month <dbl>, ## # date_month_name <chr>, date_day <chr>, product_id <dbl>, price <dbl>

Từ khóa » Vroom Col_select