getFieldNames {TxRegInfra}R Documentation

get names of fields in a collection in remote txregnet

Description

get names of fields in a collection in remote txregnet

Usage

getFieldNames(collection, check = TRUE, url = URL_txregInAWS(),
  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

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

[Package TxRegInfra version 1.0.1 Index]