I have a MongoDB that I connect to using the mongolite R package. In that MongoDB I would like to create a new database so that I can create collections within it.
Using the command line this seems to be possible by using the "use" command (see https://www.mongodb.com/basics/create-database)
Does anyone have an idea how / if it is possible to create a database from within R using mongolite?