Skip to content

Commit

Permalink
Fewer variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHeun committed Feb 8, 2024
1 parent 708a40c commit 155666a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion R/pipeline.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ get_pipeline <- function(input_data_version,
countries,
years,
do_chops ,
schema_file_path) {
schema_file_path = PFUSetup::get_abs_paths(version = input_data_version)[["schema_path"]]) {

# Avoid warnings on target names
SchemaFilePath <- NULL; Schema <- NULL; DM <- NULL
Expand Down
8 changes: 1 addition & 7 deletions _targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ library(PFUPipeline2)
library(tarchetypes)
library(targets)

# Set database connection parameters

# Get file locations
setup <- PFUSetup::get_abs_paths(version = input_data_version)

# Set target options:
tar_option_set(
# packages that your targets need to run
Expand Down Expand Up @@ -77,7 +72,6 @@ PFUPipeline2::get_pipeline(input_data_version = input_data_version,
conn_params = conn_params,
countries = countries,
years = years,
do_chops = do_chops,
schema_file_path = setup[["schema_path"]])
do_chops = do_chops)


25 changes: 12 additions & 13 deletions _targets/meta/meta
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name|type|data|command|depend|seed|path|time|size|bytes|format|repository|iteration|parent|children|seconds|warnings|error
.Random.seed|object|798db54d42fd0193|||||||||||||||
conn_params|object|4a44a3c27cf3ffc8|||||||||||||||
countries|object|0d9f9d0007d1e6de|||||||||||||||
DM|stem|fd2797b675fa801b|c0a1f9595057cc4e|e98d0eb5ddba24e4|1789290761||t19761.9015697619s|6ee40e43b8565e4f|1215|qs|local|vector|||0.574||
do_chops|object|df161ddba3dacc9e|||||||||||||||
input_data_version|object|4960691d1f155564|||||||||||||||
output_version|object|847c493884abc87c|||||||||||||||
Schema|stem|14f4be43f542ce3b|79231bb9cb867aa0|0f09328fdf39f93b|1131015279||t19761.9021984495s|76c9ef911ac0602c|593|qs|local|vector|||0.078||
SchemaFilePath|stem|4f445638ab73b339|743d42ae8caaf5e5|39d4bd72f42927f6|-519443191|/Users/mkh2/Dropbox/Fellowship 1960-2015 PFU database/InputData/v1.4/Schema.xlsx|t19761.9020796293s|206ea7bc9c6d8e6e|55117|file|local|vector|||0.573||
setup|object|e51be97aef3696e6|||||||||||||||
UploadDM|stem|f80d269cfe5f2a1f|824d2bb0f23ffd1f|3910ca86e51f8163|-36430866||t19761.9015739092s|bc4ba902c83a992f|5719|qs|local|vector|||0.333||
worker_threads|object|fb755ea17e7be4b3|||||||||||||||
years|object|dcc4706dd2c7368c|||||||||||||||
worker_threads|object|fb755ea17e7be4b3
input_data_version|object|4960691d1f155564
.Random.seed|object|caee7eaf26b35929
do_chops|object|df161ddba3dacc9e
years|object|dcc4706dd2c7368c
conn_params|object|4a44a3c27cf3ffc8
countries|object|0d9f9d0007d1e6de
output_version|object|847c493884abc87c
SchemaFilePath|stem|4f445638ab73b339|743d42ae8caaf5e5|39d4bd72f42927f6|-519443191|/Users/mkh2/Dropbox/Fellowship 1960-2015 PFU database/InputData/v1.4/Schema.xlsx|t19761.9020796293s|206ea7bc9c6d8e6e|55117|file|local|vector|||0.57||
Schema|stem|14f4be43f542ce3b|79231bb9cb867aa0|0f09328fdf39f93b|1131015279||t19761.9055737893s|76c9ef911ac0602c|593|qs|local|vector|||0.071||
DM|stem|fd2797b675fa801b|c0a1f9595057cc4e|e98d0eb5ddba24e4|1789290761||t19761.9055771588s|6ee40e43b8565e4f|1215|qs|local|vector|||0.276||
UploadDM|stem|f80d269cfe5f2a1f|824d2bb0f23ffd1f|3910ca86e51f8163|-36430866||t19761.9055812781s|bc4ba902c83a992f|5719|qs|local|vector|||0.332||
3 changes: 2 additions & 1 deletion man/get_pipeline.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 155666a

Please sign in to comment.