editor_resources_add: Editor create new resource

View source: R/editor_resources.R

editor_resources_addR Documentation

Editor create new resource

Description

Create a new resource

Usage

editor_resources_add(
  idno,
  dctype,
  title,
  subtitle = NULL,
  dcformat = NULL,
  author = NULL,
  dcdate = NULL,
  country = NULL,
  language = NULL,
  contributor = NULL,
  publisher = NULL,
  rights = NULL,
  description = NULL,
  abstract = NULL,
  toc = NULL,
  subjects = NULL,
  file_path = NULL,
  overwrite = "no",
  api_key = NULL,
  api_base_url = NULL
)

Arguments

idno

(required) Study IDNO

dctype

Resource document type

title

Resource title

dcformat

Resource file format

author

Author name

dcdate

Date using YYYY-MM-DD format

country

Country name

language

Language or Language code

contributor

Contributor name

publisher

Publisher name

rights

Rights

description

Resource detailed description

abstract

Resource abstract

toc

Table of contents

file_path

File path for uploading

overwrite

Overwrite if resource already exists? Accepted values "yes", "no"


mah0001/nadar documentation built on March 30, 2024, 2:44 a.m.