maelstrom-research / Rmonize

3 stars 0 forks source link

Error in valueType_self_adjust() #66

Open twey2 opened 4 weeks ago

twey2 commented 4 weeks ago

Update: The error is caused, weirdly, by one numeric variable (phy_height_meters, decimal). There isn't anything unusual about the variable in this dataset that I can see...

Error running valueType_self_adjust() on a harmonized dataset with Rmonize v1.1.0.9000 :

image

The function works on other datasets harmonized with the same DataSchema, so it's likely a problem with the specific dataset, but it's unclear how to find the source of the error. The problem dataset has many impossible and undetermined, so maybe the function is having trouble when a source variable is all NA?

Additional information: The datasets were originally read from indexed csv files using file_index_read(). I have tried converting everything to character and dataset_zap_data_dict, and still get the error.