Add httr code for downloading data