Skip to content

BYOC_ID: 46036 - Refactor NSU#1316

Open
lizihao-anu wants to merge 3 commits into
developmentfrom
refactor-nsu
Open

BYOC_ID: 46036 - Refactor NSU#1316
lizihao-anu wants to merge 3 commits into
developmentfrom
refactor-nsu

Conversation

@lizihao-anu

Copy link
Copy Markdown
Collaborator

Ready for review

@lizihao-anu lizihao-anu requested a review from Jennit07 April 29, 2026 16:22
@lizihao-anu lizihao-anu added On hold Waiting for something / someone outside of our control BYOC PR ready for review labels Apr 29, 2026
@lizihao-anu lizihao-anu changed the title Refactor nsu BYOC_ID: 46036 - Refactor NSU Apr 29, 2026
@lizihao-anu lizihao-anu linked an issue Apr 29, 2026 that may be closed by this pull request
@lizihao-anu lizihao-anu mentioned this pull request Apr 29, 2026
38 tasks
Comment thread R/add_nsu_cohort.R
) %>%
dplyr::collect()
} else {
nsu_data <- read_file(get_nsu_path(year))

@Jennit07 Jennit07 May 13, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the get_nsu_path(year) will need refactored to include byoc for running locally

Comment thread R/add_nsu_cohort.R
c_year <- convert_fyyear_to_year(year)

if (isTRUE(BYOC_MODE)) {
denodo_connect <- get_denodo_connection(BYOC_MODE = BYOC_MODE)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if we need to add this as an argument on the function to follow the same format as other functions

@Jennit07

Copy link
Copy Markdown
Collaborator

Just a few comments but this is ready for testing when we have the data available.

Comment thread R/add_nsu_cohort.R
denodo_connect,
dbplyr::in_schema("sdl", "sdl_nsu_source") # TODO: finalise this sdl view
) %>%
dplyr::filter(costs_financial_year == c_year) %>%

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: check the name of the variable in the SDL view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BYOC_ID: 46036 Non Service User (NSU)

2 participants