You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `respondentlist()` now stores the "survey_id" value for a survey in each response element so that `getresponses()` can be called without needing to specify a `survey` value.
* A new function, `surveypreview()`, opens a survey's preview URL from a "sm_surveydetails" object via a web browser.
## BUG FIXES ##
* Some changes were made to `as.data.frame()` to attempt bug fixes associated with matrix questions. (#14)
* Fixed a small for-loop bug in `getallresponses()`. (#13, h/t David Robinson)
# CHANGES TO Rmonkey 0.3 #
## SIGNIFICANT USER-VISIBLE CHANGES ##
* A new function, `surveyquestions()`, returns a named character vector of question wordings from a "sm_surveydetails" object. This can be useful for quickly mapping question IDs (which are used as variable names in `getresponses()` and `getallresponses()`) to original question wordings. (#11)
* A new function, `getallresponses()`, simplifies the process of creating a data.frame of all responses for a survey.
* Exposed a `...` argument to `httr::POST()`, etc.
* Transfered repository to the cloudyr project. (#9)
* Removed dependency on RCurl.
## BUG FIXES ##
* Fixed a bug in `as.data.frame.sm_response()` that caused surveys with certain question options to fail to bind as a data.frame. (#5, #10)
* Returned error messages on any API error rather than just "invalid request".
* Fixed a problem in `createsurvey()` (h/t Kevin Little, #7, #8)
## DOCUMENTATION ##
* Fixed an error in README example. (h/t Stephan Renatus)
# CHANGES TO Rmonkey 0.2 #
* Switch from **RJSONIO** to **jsonlite**
* Import `plyr::rbind.fill()` for `as.data.frame.sm_response_list()`.