# 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.
if (FALSE) {
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_table_prefix = '',
mysql_username = 'lime',
mysql_password = '1234lime'
)
df_data <- get_survey_data(123456)
}
Run the code above in your browser using DataLab