Create get_details_his.r