upload_graphic imports a survey based on a loacl survey file

upload_graphic(libraryId, filename, filePath, type, folder = NULL)

Arguments

libraryId

the name of the survey where to import responses

filename

Name of the graphic

filePath

Path to the file to import

type

image/jpeg, image/gif, image/png

folder

The folder where the graphic will be located

Value

the id of the uploaded graphic

Examples

if (FALSE) upload_graphic("SV_012345678912345", "./data.csv", "CSV")