Skip to content

Commit

Permalink
adding connection functions
Browse files Browse the repository at this point in the history
  • Loading branch information
brycefrank committed Sep 24, 2024
1 parent 98b2c86 commit 94af9ed
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions R/connection.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
get_model_con <- function(url) {
mongolite::mongo(
url = url, db = "allodev", collection = "models"
)
}

get_pub_con <- function(url) {
mongolite::mongo(
url = url, db = "allodev", collection = "publications"
)
}

get_update_con <- function(url) {
mongolite::mongo(
url = url, db = "allodev", collection = "update"
)
}

0 comments on commit 94af9ed

Please sign in to comment.