data_add: Adds a new resource to the KiProject. The resource can be a...

Description Usage Arguments Value Note

View source: R/fns-auto.R

Description

Adds a new resource to the KiProject. The resource can be a remote or local file or directory. If the resource already exists it will be updated with the provided parameters.

Usage

1
2
data_add(ki_project, remote_uri_or_local_path, name = NULL,
  version = NULL, data_type = NULL)

Arguments

ki_project

a Ki Project obtained from ki_project

remote_uri_or_local_path

The remote URI (e.g., syn:syn123456) or local path of the directory for file.

name

A user friendly name for the resource.

version

The version of the file to add.

data_type

The DataType of the file. This is only required when a remote_uri is provided and the remote

Value

KiProjectResource

Note

This can be used in either of the following ways:

1
2

ki-tools/kitools-r documentation built on Jan. 7, 2020, 5:46 a.m.