Skip to content

➕ Add read params functions (including .json.gz)#74

Draft
francisbarton wants to merge 1 commit intomainfrom
francisbarton/issue58b
Draft

➕ Add read params functions (including .json.gz)#74
francisbarton wants to merge 1 commit intomainfrom
francisbarton/issue58b

Conversation

@francisbarton
Copy link
Copy Markdown
Member

@francisbarton francisbarton commented Feb 26, 2026

Should close #58

There are two versions of each function supplied:

  • 1 using the azkit read_* functions, which have minimal differences in output compared to the current standard / expected output (eg numeric vectors rather than lists)
  • 1 using the jsonlite package, which have negligible differences in output compared to the current standard / expected output (eg numbers represented as integers rather than doubles)

This PR is here as an example of how these functions could be adopted in reskit.
But it is not currently ready to review and merge, because:

a) there are two identically-named versions of each function, so a choice has to be made as to which approach to take
b) it is possible we will move away from ever needing to read in a .json.gz file so these will be obsolete

See also: discussion and background here and here

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.

Create read_params_json function(s)

1 participant