Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculate metadata without data #532

Merged
merged 7 commits into from
Nov 8, 2024
Merged

calculate metadata without data #532

merged 7 commits into from
Nov 8, 2024

Conversation

M-Kusumgar
Copy link
Contributor

No description provided.

Copy link
Collaborator

@r-ash r-ash left a comment

Choose a reason for hiding this comment

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

This looks good to me! Have you been able to check it in a deployed app? I'll deploy to preview and have a look at this tomorrow

R/columns.R Outdated
get_programme_time_series_columns_from_metadata <- function(input, area_level_options) {
metadata <- naomi::get_art_metadata(input$data$programme$path)
cq <- metadata$calendar_quarters
quarters <- unique(substr(cq, nchar(cq) - 1, nchar(cq)))
Copy link
Collaborator

Choose a reason for hiding this comment

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

There's a helper you could use for this naomi::calendar_quarter_to_quarter

@@ -55,6 +55,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: mrc-ide/naomi
ref: metadata-without-data
Copy link
Collaborator

Choose a reason for hiding this comment

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

Revert this once Naomi is merged. (Or maybe comment it out to make it easier to find next time)

@r-ash r-ash force-pushed the metadata-without-data branch from d6c0149 to e8c3080 Compare November 8, 2024 11:52
@r-ash r-ash merged commit f84b7da into main Nov 8, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants