View source: R/UnitsAndConversions.R
save_set_of_conversions | R Documentation |
Save a single type of conversion factor into the conversion factor database
save_set_of_conversions(
database = "rhomis",
url = "mongodb://localhost",
projectID = "core_unit",
formID = "core_unit",
conversions,
conversion_type,
collection,
converted_values = F
)
database |
The database which will store the units |
url |
The url of the database storing the units |
projectID |
The name of the project the units are related to |
formID |
The name of the form the projects are related to |
conversions |
A table of the conversion factors to be used |
conversion_type |
Which type of conversion is being saves (e.g crop yield, PPI, HDDS etc...) |
collection |
The mongodb collection to save the units |
converted_values |
Whether saving values which user has already converted |
Rpackage file: UnitsAndConversions.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.