Open github-learning-lab[bot] opened 3 years ago
Im confused
Data analyses are often complex. Data pipelines are ways of managing that complexity. Our data pipelines have two foundational pieces:
- Good organization of code scripts help you quickly find the file you need, whether you or a teammate created it.
- Dependency managers such as
remake
,scipiper
, anddrake
formalize the relationships among the datasets and functions to ensure reproducibility while also minimizing the amount of unnecessary runtime as you're creating or modifying parts of the pipeline.⌨️ Activity: Assign yourself to this issue to get started.
💡 Tip: Throughout this course, I, the Learning Lab Bot, will reply and direct you to the next step each time you complete an activity. But sometimes I'm too fast when I ⏳ give you a reply, and occasionally you'll need to refresh the current GitHub page to see it. Please be patient, and let my humans know (
jread-usgs
oraappling-usgs
) if I seem to have become completely stuck.I'll sit patiently until you've assigned yourself to this one.
To complete this section, you'll need some R packages. You will need to install remake
, scipiper
, and drake
.
drake
is available through CRAN, but remake
and scipiper
both require installation from github.
scipiper
depends on remake
, so install remake
and its dependencies first:
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
While you are at it, please install a few other packages that you'll use along the way:
install.packages(c("dplyr", "readr", "stringr", "sbtools", "whisker", "dataRetrieval", "ggplot2", "purrr"))
Next, install scipiper
remotes::install_github('USGS-R/scipiper')
Also install drake
install.packages('drake')
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
install.packages('drake')
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
library(scipiper) install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes")) remotes::install_github('richfitz/remake') remotes::install_github('USGS-R/scipiper') install.packages('drake')
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes")) remotes::install_github('richfitz/remake') remotes::install_github('USGS-R/scipiper') install.packages('drake') library(scipiper)
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
library(scipiper) remotes::install_github('richfitz/remake') remotes::install_github('USGS-R/scipiper') install.packages('drake')
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes")) remotes::install_github('richfitz/remake')
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes")) remotes::install_github('richfitz/remake') remotes::install_github('USGS-R/scipiper') install.packages('drake') library(scipiper)
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
remotes::install_github('richfitz/remake') remotes::install_github('USGS-R/scipiper') install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes")) install.packages(c("dplyr", "readr", "stringr", "sbtools", "whisker", "dataRetrieval", "ggplot2", "purrr")) install.packages('drake')
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
library(scipiper) remotes::install_github('richfitz/remake') remotes::install_github('USGS-R/scipiper') install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes")) install.packages(c("dplyr", "readr", "stringr", "sbtools", "whisker", "dataRetrieval", "ggplot2", "purrr")) install.packages('drake')
Uh oh, I didn't find the message I was looking for. Here are some troubleshooting steps:
USGS Support Package
.Let's try again!
install.packages(c("R6", "yaml", "digest", "crayon", "optparse", "storr", "remotes"))
remotes::install_github('richfitz/remake')
remotes::install_github('USGS-R/scipiper')
install.packages('drake')
library(scipiper)
When all three pipeline packages are installed, comment with the message that appears after you run library(scipiper)
.
Data analyses are often complex. Data pipelines are ways of managing that complexity. Our data pipelines have two foundational pieces:
Good organization of code scripts help you quickly find the file you need, whether you or a teammate created it.
Dependency managers such as
remake
,scipiper
, anddrake
formalize the relationships among the datasets and functions to ensure reproducibility while also minimizing the amount of unnecessary runtime as you're creating or modifying parts of the pipeline.:keyboard: Activity: Assign yourself to this issue to get started.
:bulb: Tip: Throughout this course, I, the Learning Lab Bot, will reply and direct you to the next step each time you complete an activity. But sometimes I'm too fast when I :hourglass_flowing_sand: give you a reply, and occasionally you'll need to refresh the current GitHub page to see it. Please be patient, and let my humans know (
jread-usgs
oraappling-usgs
) if I seem to have become completely stuck.I'll sit patiently until you've assigned yourself to this one.