Description Usage Arguments Details Value Author(s) Examples
View source: R/getUserProjects.R
getUserProjects
Gets metadata of projects accessible to the current user.
1 | getUserProjects(coreApi, ...)
|
coreApi |
coreApi object with valid jsessionid |
... |
additional arguments passed to |
getUserProjects
Gets metadata of projects accessible to the current user.
List of length 2, containing entity
and response
objects:
entity
list with project's metadata.
response
is the entire HTTP response.
Natasha Mora natasha.mora@thermofisher.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
api <- coreAPI("PATH TO JSON FILE")
login <- authBasic(api)
response <- getUserProjects(login$coreApi)
logOut(login$coreApi)
## End(Not run)
Specific data can be extracted, one example is to extract the project barcodes:
## Not run:
projectBarcodes <- unlist(lapply(
response$content,
FUN = function(x)
x$Barcode))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.