{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/sofa/issues/34","labels_url":"https://api.github.com/repos/ropensci/sofa/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/sofa/issues/34/comments","events_url":"https://api.github.com/repos/ropensci/sofa/issues/34/events","html_url":"https://github.com/ropensci/sofa/issues/34","id":106930398,"number":34,"title":"Numeric values are stored as strings","user":{"login":"patperu","id":82020,"avatar_url":"https://avatars.githubusercontent.com/u/82020?v=3","gravatar_id":"","url":"https://api.github.com/users/patperu","html_url":"https://github.com/patperu","followers_url":"https://api.github.com/users/patperu/followers","following_url":"https://api.github.com/users/patperu/following{/other_user}","gists_url":"https://api.github.com/users/patperu/gists{/gist_id}","starred_url":"https://api.github.com/users/patperu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patperu/subscriptions","organizations_url":"https://api.github.com/users/patperu/orgs","repos_url":"https://api.github.com/users/patperu/repos","events_url":"https://api.github.com/users/patperu/events{/privacy}","received_events_url":"https://api.github.com/users/patperu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T08:01:04Z","updated_at":"2015-09-17T17:21:47Z","closed_at":null,"body":"Hello Scott,\r\n\r\nI just imported the 'iris' dataset in a local CouchDB via 'bulk_create'.\r\nBut all values are stored as strings even the numeric ones.\r\nSame happens with 'doc_create'\r\n\r\nBest \r\nPatrick\r\n\r\n```R\r\nlibrary('sofa')\r\ncushion(name = 'local', type = \"localhost\")\r\ndb_create(\"local\", dbname = 'xiris')\r\nbulk_create(iris, \"local\", dbname = \"xiris\")\r\ndevtools::session_info()\r\n```\r\n```R\r\nSession info -----------------------------------------------------------------------------------------------------------------------\r\n setting  value                                      \r\n version  R version 3.2.2 Patched (2015-08-21 r69156)\r\n system   x86_64, mingw32                            \r\n ui       Rgui                                       \r\n language (EN)                                       \r\n collate  German_Germany.1252                        \r\n tz       Europe/Berlin                              \r\n date     2015-09-17                                 \r\n\r\nPackages ---------------------------------------------------------------------------------------------------------------------------\r\n package    * version  date       source                        \r\n curl         0.9.3    2015-08-25 CRAN (R 3.2.2)                \r\n devtools     1.9.0    2015-08-23 local                         \r\n digest       0.6.8    2014-12-31 CRAN (R 3.2.2)                \r\n httr         1.0.0    2015-06-25 CRAN (R 3.2.2)                \r\n jsonlite     0.9.17   2015-09-06 CRAN (R 3.2.2)                \r\n magrittr     1.5      2014-11-22 CRAN (R 3.2.2)                \r\n memoise      0.2.1    2014-04-22 CRAN (R 3.2.2)                \r\n plyr         1.8.3    2015-06-12 CRAN (R 3.2.2)                \r\n R6           2.1.1    2015-08-19 CRAN (R 3.2.2)                \r\n Rcpp         0.12.1   2015-09-10 CRAN (R 3.2.2)                \r\n rstudioapi   0.3.1    2015-04-07 CRAN (R 3.2.2)                \r\n sofa       * 0.1.7.99 2015-09-17 Github (ropensci/sofa@200befe)\r\n stringi      0.5-5    2015-06-29 CRAN (R 3.2.2)                \r\n stringr      1.0.0    2015-04-30 CRAN (R 3.2.2)\r\n```"},"comment":{"url":"https://api.github.com/repos/ropensci/sofa/issues/comments/141157793","html_url":"https://github.com/ropensci/sofa/issues/34#issuecomment-141157793","issue_url":"https://api.github.com/repos/ropensci/sofa/issues/34","id":141157793,"user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T17:21:47Z","updated_at":"2015-09-17T17:21:47Z","body":"thanks, i'll take a look"}}