Statplexer load_data function