new_view: Create a view

View source: R/views.R

new_viewR Documentation

Create a view

Description

This creates a generic view, including by default just file entities and the default columns (i.e. defaults to a generic fileview). This is often useful to get ids of files for a large number of nested files by creating a temp fileview (the alternative is to use walk, but if the tree structure is not regular it can be messy to parse the output).

Usage

new_view(scope, project, name = "New View", include = "FILE")

Arguments

scope

Character id(s) of project or folder container(s) in scope.

project

Parent project id to create the view in.

name

Name of view.

include

Which entity type(s) to include in scope. Defaults to files.


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.