| get_survey_id {ipanema} | R Documentation | 
get_survey_id
Description
Get numerical LimeSurvey ID of the survey with the given title.
Usage
get_survey_id(survey_title)
Arguments
| survey_title | TItle of the survey. String. | 
Value
An integer Survey ID which can be used as a parameter in 'get_survey_data()'
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 title 'mysurvey'.
## 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'
)
survey_id <- get_survey_id('mysurvey')
df_data <- get_survey_data(survey_id)
## End(Not run)
[Package ipanema version 1.1.0 Index]