diff --git a/R/find_groups.R b/R/find_groups.R index 0632ec2d..ed7759dc 100644 --- a/R/find_groups.R +++ b/R/find_groups.R @@ -71,8 +71,8 @@ find_groups <- function(text = NULL, topic_id = NULL, radius = "global", visibility = map_chr(res, "visibility", .default = NA), who = map_chr(res, "who", .default = NA), location = map_chr(res, "localized_location"), - organizer_id = map_int(res, c("organizer", "id")), - organizer_name = map_chr(res, c("organizer", "name")), + organizer_id = map_int(res, c("organizer", "id"), .default = NA), + organizer_name = map_chr(res, c("organizer", "name"), .default = NA), category_id = map_int(res, c("category", "id"), .default = NA), category_name = map_chr(res, c("category", "name"), .default = NA), resource = res