-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix sc_client_lookup sc_send_lca * fix an issue of get_pop_path * Style code * fix the rest of get_pop_path from get_datazone_pop_path * Update documentation * fix sc_send_lca * add missing year column * explicitly specify the argument year to avoid corruption of targets * Update documentation * new data pipeline with targets remove create_individual_files from targets and append it to run_targets script * minor changes * Style code * undo sc_send_lca bit * Update targets scripts * Remove top level targets scripts --------- Co-authored-by: lizihao-anu <[email protected]> Co-authored-by: Megan McNicol <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennifer Thom <[email protected]>
- Loading branch information
1 parent
c684b81
commit 9699394
Showing
12 changed files
with
125 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "1718" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("1718")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "1819" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("1819")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "1920" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("1920")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "2021" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("2021")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "2122" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("2122")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "2223" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("2223")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
library(targets) | ||
|
||
year <- "2324" | ||
|
||
# use targets for the process until testing episode files | ||
tar_make_future( | ||
# it does not recognise `contains(year)` | ||
names = (targets::contains("2324")) | ||
) | ||
|
||
# use targets to create individual files due to RAM limit | ||
library(createslf) | ||
|
||
episode_file <- arrow::read_parquet(get_slf_episode_path(year)) | ||
|
||
# Run individual file | ||
create_individual_file(episode_file, year = year) %>% | ||
process_tests_individual_file(year = year) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.