getSiteInfo: Get site information

Description Usage Arguments Value Examples

View source: R/getSiteInfo.R

Description

Get site information

Usage

1
getSiteInfo(expectConfigFile = TRUE)

Arguments

expectConfigFile

logical parameter when set to FALSE, no configuration is looked for. Default value is TRUE.

Value

A list of site specific information used by the application.

Currently this returns the following character strings in a named list.

  1. centerOne of "SNPRC" or "ONPRC"

  2. baseUrlIf center is "SNPRC", baseUrl is one of "https://boomer.txbiomed.local:8080/labkey" or "https://vger.txbiomed.local:8080/labkey". To allow testing, if center is "ONPRC" baseUrl is "https://boomer.txbiomed.local:8080/labkey".

  3. schemaNameIf center is "SNPRC", schemaName is "study". If center is "ONPRC", schemaName is "study"

  4. folderPath If center is "SNPRC", folderPath is "/SNPRC". If center is "ONPRC", folderPath is "/ONPRC"

  5. queryNameis "demographics"

Examples

1
2

rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.