Learn R Programming

rsnps (version 0.1.6)

users: Get openSNP users.

Description

Get openSNP users.

Usage

users(df = FALSE, ...)

Arguments

df
Return data.frame (TRUE) or not (FALSE) - default = FALSE.
...
Curl options passed on to GET.

Value

List of openSNP users, their ID numbers, and XX if available.

Examples

Run this code
## Not run: 
# # just the list
# data <- users(df=FALSE)
# data
# 
# # get a data.frame of the users data
# data <- users(df=TRUE)
# data[[1]] # users with links to genome data
# data[[2]] # users without links to genome data
# ## End(Not run)

Run the code above in your browser using DataLab