get_data function

Retrieve raw data from Carbon Intensity API