-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create variables from element values or names. #282
Comments
I don't understand this part. What would it do?
And this isn't clear to me, either. What is the "feature for element names"? |
element:
Variable:
Variable:
I was referring to 2 and therefore questioned if we need the option |
I see, thanks for the clarification.
As this would be equivalent to |
But we need to specify how |
We've previously discussed a similar issue in oersi/oersi-etl#221. The proposed "field value interpolation" would also be able to satisfy the use case here, thus obviating the need for a new function. lookup("Sublibrary-ISIL", "$<HO-ISIL>.tsv", "sep_char": "\t", delete: "true") |
This should only work with string-elements, and should be overwritten if already exists. I am not sure, but perhaps some of the code could be reused in metafacture/metafacture-core#533 |
Add new fix method to set variable with element value #282
At the moment you can only create variables from explicitly assigning values to variable names by
put_var
orput_vars
.I suggest a
to_var
function:to_var("sourceElement","variableName",variableValue:"key/value")
Perhaps the feature for element names is not needed.
The text was updated successfully, but these errors were encountered: