Releases: lyrasis/kiba-extend
Add `Merge::CompareFieldsFlag` transform
Enters "same" into target
if the value in all fields
specified is the same. Otherwise, enters "diff" into target
.
downcase
true converts all values to lowercase before comparing. strip
true removes leading/trailing spaces. Neither option changes the values in fields
ignore_blank
true would result in "same" if 2 field values were the same but 1 was empty. ignore_blank
false would report "diff" in this situation.
Bugfix for Merge::MultiRowLookup
if there was no key (nothing to look up/match on), crashed because you can't split on nil
Adds `multikey` parameter to `Merge::MultiRowLookup` transform
Adds multikey
parameter to Merge::MultiRowLookup
transform.
This is set to false
by default to make the change non-breaking. If keycolumn
value is 'a|b', will merge in values for rows with lookup key 'a|b'.
If set to true
(and delim = '|'), will merge in values for rows with lookup key 'a', followed by those with lookup key 'b'
`Append::NilFields` transform class added
Merge pull request #15 from lyrasis/append-fields add Append::NilFields transform class
Support for %NULLVALUE% handling in Clean transforms
Adds the use_nullvalue
transform initialization parameter to Clean::EmptyFieldGroups
and Clean::DelimiterOnlyFields
This causes %NULLVALUE%
to be treated as a blank value for the purposes of these transforms.
Update CSV gem version
Updates CSV gem to ~> 3.0
MsAccess::ScientificNotationToNumberString tranform
add MsAccess::ScientificNotationToNumberString tranform -- mdbtools converts Number fields to Doubles which come out as scientific notation when you use mdb-export. This allows you to convert those values to the expected number strings
Upgrade Kiba; actual README
- Use Kiba version 4.0.0
- Add a real README
Improvements to CSV converters and Clean::ClearFields
- stripplus CSV converter strips leading/trailing %LINEBREAK% and %CRLF%
- cells = NULL are transformed to nil by both csv converter
- add optional
if_equals
argument to Clean::ClearFields
Append::ToFieldValue
Adds constant value to end of field value if field is not nil or empty.