wipe_survey_data {ipanema}R Documentation

wipe_survey_data

Description

Delete all data collected by this survey.

Usage

wipe_survey_data(survey_id)

Arguments

survey_id

ID of the survey from which the collected data shall be deleted. 6-digit integer.

Value

Nothing. Function is called for side effects on SQL table.

Examples

# This example assumes a locally hosted `LimeSurvey` instance using a locally
# hosted MySQL server.
# On this `LimeSurvey` instance, there is a survey with the ID 123456.
## Not run: 
connect_to_limesurvey(
  api_url = 'https://localhost/index.php/admin/remotecontrol',
  limesurvey_username = 'admin',
  limesurvey_password = '1234admin',
  mysql_host = '127.0.0.1',
  mysql_port = 3306,
  mysql_dbname = 'limesurvey',
  mysql_username = 'lime',
  mysql_password = '1234lime'
)

wipe_survey_data(123456)

## End(Not run)


[Package ipanema version 1.1.0 Index]