The goal of CC-RB-LF-SCH-DASHBOARD repository is to run the data pipeline necessary to prepare the data for the CC-RB-LF-SCH Dashboard.
The pipeline is set up as {targets}
workflow. Therefore, if you don’t
already have it installed you must run install.packages("targets")
.
targets::tar_make()
which will execute any necessary components of the pipeline and store
the data objects inside the targets/objects
directory_targets.R
file. This file is set up to read like a book chapters so
you can clearly view each steps and read what about what is happening._targets.R
file and clicking on the functions for more details. For
even more explanation of the functions check out the data_cleaning_*
notebooks inside of the documentation
folder.list all data sources here in bullet format. I think best to include
file name and short description then you can share the path to each file
in an email/DM. We will link to all data sources with keys
and never
put data into the repo
The repository is based around an R project (.rproj
). The structure
will closely follow R package design protocol, but will not be built
into a package at this stage. We avoid creating a package-project
as
we will want to minimize complications when/if we deploy a {targets}
workflow.
.R
files.Rmd
files.usethis::use_vignette()
rather
than rmds
as typical for package development. We can assess this
later on.usethis::use_testthat()
for
storing tests.