set_file_name: Set the file name for an object

View source: R/editing.R

set_file_nameR Documentation

Set the file name for an object

Description

Set the file name for an object.

Usage

set_file_name(mn, pid, name)

Arguments

mn

(MNode) The Member Node.

pid

(character) The PID of the object to set the file name on.

name

(character) The file name.

Value

(logical) Whether the update succeeded.

Examples

## Not run: 
cn <- CNode("STAGING2")
mn <- getMNode(cn, "urn:node:mnTestKNB")

pid <- "urn:uuid:23c7cae4-0fc8-4241-96bb-aa8ed94d71fe"
set_file_name(mn, pid, "myfile.csv")

## End(Not run)

NCEAS/arcticdatautils documentation built on Aug. 28, 2023, 12:10 p.m.