You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The column values contains numeric data like this: [123]
The goal is to save it as integer: 123
The [RemoveClosingBraces](https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv#L53) transform removes the braces (but returns the value as a text 😢 )
The [ClosingBracesRemover](https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv#L90) block applies it to the pipeline
The [RemoveClosingBraces](https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv#L53) transform should return the value as an integer using the following expression: parse (valueWithBraces replace /\]/ with "") as integer
Notes
Definitions of Done
A PR has been opened and accepted
All user acceptance criteria are met
All tests are passing
The text was updated successfully, but these errors were encountered:
User Story
User Acceptance Criteria
X as Y
operator exists that takes the inputX
and returns it parsed as built in value typeY
(see https://jvalue.github.io/jayvee/docs/user/valuetypes/builtin-valuetypes)asDecimal X
unary operators for every built in value typeTableTransformer
blocks with transforms that change value types for the same columns workExamples
See the following model with open data from SWC: https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv
values
contains numeric data like this:[123]
123
[RemoveClosingBraces](https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv#L53)
transform removes the braces (but returns the value as atext
😢 )[ClosingBracesRemover](https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv#L90)
block applies it to the pipeline[RemoveClosingBraces](https://github.com/jvalue/SWC2-JValue-OCDE-Case1/blob/main/models/12781142/refractiveIndicesAndDielectricConstantsModel.jv#L53)
transform should return the value as an integer using the following expression:parse (valueWithBraces replace /\]/ with "") as integer
Notes
Definitions of Done
The text was updated successfully, but these errors were encountered: