Get the latest date in the dataset to determine the two-year lookback period, and perform a quick data quality check.