knitr::opts_chunk$set( collapse = TRUE, comment = "#>", message = FALSE, warning = FALSE )
library(openreviewr) library(magrittr)
# Username and password can be saved as environment variables (e.g in ~/.bashrc in a linux OS) # if using rstudio in a linux OS, starting rstudio from a bash shell might be necessary. username = Sys.getenv("OPENREVIEW_USERNAME") password = Sys.getenv("OPENREVIEW_PASSWORD") client = getClient(username = username, password = password)
Examples from: https://openreview-py.readthedocs.io/en/latest/getting_data.html#notes
Using the client object:
invitations <- client$get_invitations(regex = "ICLR.cc/2019/Conference/.*") %>% vapply(., function(x) x$id, character(1)) head(invitations)
Wrapper functions:
# Currently, only gets the first 1000 invitations_2 <- getInvitationId(client = client, regex = 'ICLR.cc/2019/Conference/.*') head(invitations_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.