SCRAPE-5: Implement convertDataTypes() with type parsing helpers #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "scraper/convert-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
convertDataTypes(unit)function and 7 helper functions inscraperService.jsparsePrice()handles currency formats ("$1,234"), "Call for pricing", negativesparseInteger(),parsePositiveInteger(),parseIntegerOrString()for numeric fieldsparseBoolean()for availability flags,parseFloat()for bath countstrimString()for string fields with null coercionTest plan