Data Retrieval project using R