ndex_find_users {ndexr}R Documentation

Search user in NDEx

Description

Returns a SearchResult object which contains an array of User objects

Usage

ndex_find_users(ndexcon, searchString = "", start, size)

Arguments

ndexcon

object of class NDExConnection linkndex_connect

searchString

string by which to search

start

integer (optional); specifies that the result is the nth page of the requested data. The default value is 0

size

integer (optional); specifies the number of data items in each page. The default value is 100

Value

Data frame with user information; NULL if no user are found.

REST query

GET: ndex_config$api$search$user

Note

Compatible to NDEx server version 1.3 and 2.0

Search strings may be structured

Examples

## Establish a server connection
ndexcon = ndex_connect()
## Find a user
users = ndex_find_users(ndexcon,"ndextutorials") 
names(users)
## [1] "properties"       "displayName"      "isIndividual"     "userName"         "password"        
## [6] "isVerified"       "firstName"        "lastName"         "diskQuota"        "diskUsed"        
##[11] "emailAddress"     "image"            "website"          "description"      "externalId"      
##[16] "isDeleted"        "modificationTime" "creationTime"    

[Package ndexr version 1.0.4 Index]