Describe your experience working with legacy databases and how you handle incomplete or poorly structured datasets.