Closed bbdaniels closed 1 year ago
I like the suggestion of always filling valuecurrent
. It seems wrong to me to make changes to all observations, which is why I was not allowing that. But I guess this is indeed the expected behavior.
@luizaandrade, this fix still requires revisions to the help file indicating the final functionality -- I have marked this unresolved till that is done.
I have no idea what I was thinking. It makes no sense to allow changes in all observations. As of now, if you don't insert anything, it says to add a wildcard if you want any value to be replaced. And if you add wildcards on both, it returns the following error:
There are X lines in sheet numberic/string where neither the ID variable values or the valuecurrent column were specified. At least one of these columns should be filled with valid information (other than a wildcard) for corrections to be made correctly.
It is unclear whether the
valuecurrent
column is intended to allow wildcards (I think it should). In any case, the following two setups fail.If the sheet is:
*
I would expect an error specifying no blank cells allowed in
valuecurrent
. Instead, an inaccurate error is returned from_fillidorvalue
:If the sheet is:
*
*
I would expect no error, with all values of
headroom
set to 5. Instead, an error is returned from_fillcurrent
:Corresponding correction is required in the help file at:
https://github.com/worldbank/iefieldkit/blob/682d7d5d75ad5036ec5f2c9e6d95a173a31c0465/src/help_files/iecorrect.sthlp#L126-L129