How to get data from csv table

Hi Everyone

If i store a CSV table of data in the bucket of a HTTPS device.
How can i read the data for analytics.

I want to compare a variable with the values in column 1 and when they match get the data value of column 2 of the same row.

Seems simple enough but i cant find an example analysis.

Any help would be appreciated.