Dataset$update
Dataset$update(name=NULL, public_access_level=NULL, description=NULL, methodology_markdown=NULL, usage_markdown=NULL, labels=NULL, labels_to_add=NULL, labels_to_remove=NULL, tags=NULL, tags_to_add=NULL, tags_to_remove=NULL) → self
Update properties on a dataset. All properties are optional, and only specified properties will be updated.
Parameters:
name : str, default NULL
The dataset's new name. If set to NULL (the default), the name will not be updated.
public_access_level : str {"none" | "overview" | "metadata" | "sample" | "data"}, default NULL
The dataset's new public access level (the level of access for any user on Redivis). If set to NULL (the default), the public access level will not be updated. Additional access rules for datasets can be defined through the web interface.
description : str, default NULL
The dataset's new description, presented as the "Abstract" in the web interface. If set to NULL (the default), the description will not be updated. To clear the description, pass an empty string.
methodology_markdown : str, default NULL
The dataset's new methodology section. If set to NULL (the default), the field will not be updated. To clear this section, pass an empty string.
usage_markdown : str, default NULL
The dataset's new usage section. If set to NULL (the default), the field will not be updated. To clear this section, pass an empty string.
labels : list(str) | character vector, default NULL
A list of labels to assign to the dataset, replacing any existing labels. To add or remove individual labels, use labels_to_add or labels_to_remove instead. Labels can only use alphanumeric characters and underscores, and may include up to one colon to create a multipart label (e.g., school:humanities). Labels are case-insensitive and stored lowercase. Labels can currently only be assigned to datasets owned by an organization, and you must be an administrator of that organization to view and edit labels.
labels_to_add : list(str) | character vector, default NULL
A list of labels to add to the dataset, keeping any existing labels. Cannot be combined with labels.
labels_to_remove : list(str) | character vector, default NULL
A list of labels to remove from the dataset. Labels that aren't on the dataset are ignored. Cannot be combined with labels.
tags : list(str) | character vector, default NULL
A list of tags to assign to the dataset, replacing any existing tags. To add or remove individual tags, use tags_to_add or tags_to_remove instead. Tags are case-insensitive and stored lowercase.
tags_to_add : list(str) | character vector, default NULL
A list of tags to add to the dataset, keeping any existing tags. Cannot be combined with tags.
tags_to_remove : list(str) | character vector, default NULL
A list of tags to remove from the dataset. Tags that aren't on the dataset are ignored. Cannot be combined with tags.
Returns:
self (a Dataset)
Examples:
Last updated
Was this helpful?

