users: Get openSNP users.

View source: R/users.R

usersR Documentation

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 crul::HttpClient

Value

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

See Also

Other opensnp-fxns: allgensnp(), allphenotypes(), annotations(), download_users(), fetch_genotypes(), genotypes(), phenotypes_byid(), phenotypes()

Examples

## 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)

ropensci/rsnps documentation built on July 31, 2023, 11:11 a.m.