write_new_collection: Write a New Collection

View source: R/utils-mongodb.R

write_new_collectionR Documentation

Write a New Collection

Description

Write a new table to a RHoMIS db database

Usage

write_new_collection(
  data_to_write,
  collection,
  database = "rhomis",
  url = "mongodb://localhost"
)

Arguments

data_to_write

The dataframe that you want to write to file

collection

The collection you want to collect the information from

database

The database you are querying

url

The url of the database you are querying

Details

Rpackage file: utils-mongodb.R


l-gorman/rhomis-R-package documentation built on Nov. 8, 2023, 6:46 a.m.