edgartools icon indicating copy to clipboard operation
edgartools copied to clipboard

get_bool function parses String field value 'true' as boolean False

Open Iskaldr opened this issue 3 years ago • 3 comments

The current implementation of the edgar.core.get_bool function returns False, if the string field value is String 'true', therefore returning wrong reporting_relationship for some filings, e.g. this filing will be parsed to is_officer = False, but should be is_officer = True

Iskaldr avatar Oct 26 '23 13:10 Iskaldr

Thanks Christian, I am taking a look

dgunning avatar Oct 26 '23 15:10 dgunning

Fixed in 2..4.1.

dgunning avatar Oct 27 '23 02:10 dgunning

Fixed

dgunning avatar Oct 27 '23 02:10 dgunning