Created
May 1, 2024 09:50
-
-
Save berkorbay/014287c822c3a831f52d92b438642790 to your computer and use it in GitHub Desktop.
eptr2 Python paketini R ile kullanmak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(reticulate) | |
if(FALSE){ | |
print("Installing python packages") | |
reticulate::py_install("eptr2") | |
reticulate::py_install("pandas") | |
reticulate::py_install("urllib3") | |
} | |
eptr2 <- reticulate::import("eptr2") | |
eptr_obj <- eptr2$EPTR2() | |
res = eptr_obj$call("mcp-smp-imb", start_date="2024-04-10", end_date="2024-04-10",postprocess=FALSE) | |
df = bind_rows(res$items) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment