Don't have the reference handy now, but in 1990 in an Indiana Bldg Dept Q&A newsletter a question was asked (paraphrasing) Q - " In areas where there is not a Building Department, ie. no inspections, is the installer required to abide by the electrical code?"
Again paraphrasing,
A - " All electrical installations in Indiana to be installed per the Indiana Electrical Code (IEC)."
In my estimation, There is a lot of IEC violations ' out there '.