View source: R/utils-mongodb.R
write_new_collection | R Documentation |
Write a new table to a RHoMIS db database
write_new_collection(
data_to_write,
collection,
database = "rhomis",
url = "mongodb://localhost"
)
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 |
Rpackage file: utils-mongodb.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.