get_user_library_item: Search for library items owned by, liked by, or...

Description Usage Arguments Value

Description

Search for library items owned by, liked by, or contributed-to by the currently authenticated user.

Usage

1
2
get_user_library_item(type = c("datasets", "projects"), role = c("own",
  "liked", "contributing"), limit = NULL, next_page_token = NULL)

Arguments

type

the type of asset (one of: datasets, projects)

role

the user's role with respect to the asset (one of: own, liked, contributing)

limit

Maximum number of items to return

next_page_token

Unique token used to retrieve next page

Value

a named list with at most two elements. It will always contain a list, named records, of objects of a list structure type appropriate for the kind of asset queried. If the call to get_datasets() was made with a non-null limit parameter, and if further pages remain for retrieval, then the list will also contain a single-element character vector, named next_page_token, with the token to use in a subsequent call to get the next page.


dwapi documentation built on May 1, 2019, 11:18 p.m.