From 5c6c7a9e01ad0fbffa25bb60f77a39374846bf05 Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Thu, 8 Aug 2024 15:10:13 +0100 Subject: [PATCH 1/3] Create setup.R --- data/setup.R | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 data/setup.R diff --git a/data/setup.R b/data/setup.R new file mode 100644 index 0000000..9f02553 --- /dev/null +++ b/data/setup.R @@ -0,0 +1,6 @@ +# Set up links to the data directory + +system(sprintf("ln -s /mnt/shared/data/nyc-taxi %s/data/nyc-taxi", getwd())) +system(sprintf("ln -s /mnt/shared/data/seattle-library-checkout.csv %s/data/seattle-library-checkout.csv", getwd())) +system(sprintf("ln -s /mnt/shared/data/taxi_zone_lookup.csv %s/data/taxi_zone_lookup.csv", getwd())) +system(sprintf("ln -s /mnt/shared/data/taxi_zones %s/data/taxi_zones", getwd())) From c5a2fa361fc29a73d5e5fc0adb65910569cdf56d Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Thu, 8 Aug 2024 15:10:47 +0100 Subject: [PATCH 2/3] Update 0_housekeeping.qmd --- materials/0_housekeeping.qmd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/materials/0_housekeeping.qmd b/materials/0_housekeeping.qmd index 8cd9b84..fedcedc 100644 --- a/materials/0_housekeeping.qmd +++ b/materials/0_housekeeping.qmd @@ -110,3 +110,10 @@ Please note everyone’s lanyard colors before taking a photo and respect their - You are familiar with the [dplyr](https://dplyr.tidyverse.org/) package for data manipulation `r fontawesome::fa("screwdriver-wrench")` - You have data in your life that is too large to fit into memory or sluggish in memory - You want to learn how to engineer your data storage for more performant access and analysis + +## Setup + +- Log onto Workbench at the following URL: +- Create a new session; **select "Resource Profile: Large"** +- Run `usethis::use_course("posit-conf-2024/arrow")` +- Open `data/setup.R` and run the script From 7986ad7f87ad29012d53995aff4a172631bfae7a Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Thu, 8 Aug 2024 15:30:51 +0100 Subject: [PATCH 3/3] Update data/setup.R --- data/setup.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/setup.R b/data/setup.R index 9f02553..5f2de5b 100644 --- a/data/setup.R +++ b/data/setup.R @@ -1,6 +1,6 @@ # Set up links to the data directory system(sprintf("ln -s /mnt/shared/data/nyc-taxi %s/data/nyc-taxi", getwd())) -system(sprintf("ln -s /mnt/shared/data/seattle-library-checkout.csv %s/data/seattle-library-checkout.csv", getwd())) +system(sprintf("ln -s /mnt/shared/data/seattle-library-checkout.csv %s/data/seattle-library-checkouts.csv", getwd())) system(sprintf("ln -s /mnt/shared/data/taxi_zone_lookup.csv %s/data/taxi_zone_lookup.csv", getwd())) system(sprintf("ln -s /mnt/shared/data/taxi_zones %s/data/taxi_zones", getwd()))