Extract Data From Database Using Python In Rstudio