Added initial function that extracts time period string. Need to link this to a larger master_table matching algo