save_data_set_to_db: Save Dataset to DB

View source: R/utils-mongodb.R

save_data_set_to_dbR Documentation

Save Dataset to DB

Description

Save a dataset to the MongoDB database

Usage

save_data_set_to_db(
  data,
  data_type,
  database = "rhomis",
  url = "mongodb://localhost",
  projectID,
  formID
)

Arguments

data

The data to save

data_type

The type of data to save (e.g. cropData, indicatorData...)

database

The name of the database to save it to

url

The url of the database

projectID

The name of the project containing the data

formID

The ID of the form

Details

Rpackage file: utils-mongodb.R


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