R file to access dataset