file_copy: Copy specified file(s) to the specified project

Description Usage Arguments Value Examples

Description

Copy specified file(s) to the specified project

Usage

1
file_copy(auth_token = NULL, project_id = NULL, file_id = NULL, ...)

Arguments

auth_token

auth token

project_id

ID of a project you want to copy files to.

file_id

Character vector. IDs of the files you wish to copy to the project.

...

parameters passed to sbgapi function

Value

parsed list of the returned json

Examples

1
2
3
4
5
6
token = '420b4672ebfc43bab48dc0d18a32fb6f'
req = file_copy(token,
            project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab',
            file_id = c('5506a44ae4b04a4ab3ae7250',
                        '5506a44ae4b04a4ab3ae7254',
                        '5506a44ae4b04a4ab3ae7252'))

road2stat/sbgr documentation built on March 9, 2021, 4:33 a.m.