getFieldNames: get names of fields in a collection in remote txregnet

Description Usage Arguments Value Examples

View source: R/lite.R

Description

get names of fields in a collection in remote txregnet

Usage

1
2
3
4
5
6
7
getFieldNames(
  collection,
  check = TRUE,
  url = URL_txregLocal(),
  db = "txregnet",
  limitn = 1
)

Arguments

collection

character(1) name of collection

check

logical(1) if TRUE will verify that coll is present

url

character(1) mongodb url

db

character(1) mongodb db name

limitn

numeric(1) number of records to probe to get field names

Value

a vector of strings

Examples

1
getFieldNames('fLung_DS14724_hg19_FP', check=FALSE) # we know this collection is there

vjcitn/TxRegInfra2 documentation built on Jan. 1, 2021, 12:41 p.m.