extract_units_from_db: Extract Units from database

View source: R/UnitsAndConversions.R

extract_units_from_dbR Documentation

Extract Units from database

Description

Load all of the units from a local mongoDB

Usage

extract_units_from_db(
  database = "rhomis",
  url = "mongodb://localhost",
  projectID = "core_units",
  formID = "core_units",
  conversion_type,
  collection = "units_and_conversions"
)

Arguments

database

The name of the database

url

The url of the database

projectID

The id of the project you are interested in

formID

The id of the form you are interested in

conversion_type

The type of conversion factor you are extracting

collection

The collection where these units are found

Details

Rpackage file: UnitsAndConversions.R


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