# First we need to set an app connection
set_app_connection(
dbname = "vmc",
host = "apps-server.idems.international",
port = 5432,
user = "vmc",
password = "LSQkyYg5KzL747"
)
# Retrieve all notification data
data_all_nf <- get_nf_data()
# Retrieve data where 'app_user_id' is '3e68fcda-d4cd-400e-8b12-6ddfabced348'
# or '223925c7-443a-411c-aa2a-a394f991dd52'
valid_ids <- c("3e68fcda-d4cd-400e-8b12-6ddfabced348",
"223925c7-443a-411c-aa2a-a394f991dd52")
data_filtered_users <- get_nf_data(
filter = TRUE,
filter_variable = "app_user_id",
filter_variable_value = valid_ids
)
Run the code above in your browser using DataLab