{"action":"created","issue":{"url":"https://api.github.com/repos/opensdmx/rsdmx/issues/59","labels_url":"https://api.github.com/repos/opensdmx/rsdmx/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/opensdmx/rsdmx/issues/59/comments","events_url":"https://api.github.com/repos/opensdmx/rsdmx/issues/59/events","html_url":"https://github.com/opensdmx/rsdmx/issues/59","id":93798575,"number":59,"title":"OECD data read error","user":{"login":"mjantti","id":13235105,"avatar_url":"https://avatars.githubusercontent.com/u/13235105?v=3","gravatar_id":"","url":"https://api.github.com/users/mjantti","html_url":"https://github.com/mjantti","followers_url":"https://api.github.com/users/mjantti/followers","following_url":"https://api.github.com/users/mjantti/following{/other_user}","gists_url":"https://api.github.com/users/mjantti/gists{/gist_id}","starred_url":"https://api.github.com/users/mjantti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjantti/subscriptions","organizations_url":"https://api.github.com/users/mjantti/orgs","repos_url":"https://api.github.com/users/mjantti/repos","events_url":"https://api.github.com/users/mjantti/events{/privacy}","received_events_url":"https://api.github.com/users/mjantti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opensdmx/rsdmx/labels/data%20testing","name":"data testing","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-08T14:07:37Z","updated_at":"2015-07-09T07:59:31Z","closed_at":null,"body":"Trying to download OECD national accounts data leads to a  several messages and an error. Reading the URL directly fails, but downloading first to a file (using OECD:s export-to-sdmx facility) works, see below:\r\n\r\n> library(rsdmx)\r\n> myUrl <- \r\n+     \"http://stats.oecd.org/restsdmx/sdmx.ashx/GetData/SNA_TABLE1/AUS.B1_GA+B1G_P119+B1G+B1GA_B+B1GC_E+B1GD+B1GF+B1GG_I+B1GJ_K+B1GL_P+B1GVA+B1GVB_E+B1GVC+B1GVF+B1GVG_I+B1GVJ+B1GVK+B1GVL+B1GVM_N+B1GVO_Q+B1GVR_U+P119+D21_D31+D21S1+D31S1+DB1_GA+B1_GE+P3_P5+P3+P31S14_S15+P31S14+P31S15+P3S13+P31S13+P32S13+P41+P5+P51+P51PI61+P51PI62+P51PI63+P51PI64+P51PI65+P51PI66+P51N1111+P51N1112+P51N11131+P51N11132+P51N1114+P51N112+P52_P53+P52+P53+B11+P6+P61+P62+P7+P71+P72+DB1_GE+B1_GI+D1+D1A_B+D1C_E+D1D+D1F+D1G_I+D1J_K+D1L_P+D1VA+D1VB_E+D1VC+D1VF+D1VG_I+D1VJ+D1VK+D1VL+D1VM_N+D1VO_Q+D1VR_U+D11+D11A_B+D11C_E+D11D+D11F+D11G_I+D11J_K+D11L_P+D11VA+D11VB_E+D11VC+D11VF+D11VG_I+D11VJ+D11VK+D11VL+D11VM_N+D11VO_Q+D11VR_U+B2G_B3G+D2_D3+D2S1+D3S1+DB1_GI.C/all?startTime=1950&endTime=2014\"\r\n> dataset <- readSDMX(myUrl)\r\nSpace required after the Public Identifier\r\nOpening and ending tag mismatch: META line 3 and HEAD\r\nOpening and ending tag mismatch: hr line 5 and BODY\r\nOpening and ending tag mismatch: BODY line 4 and HTML\r\nPremature end of data in tag HEAD line 2\r\nPremature end of data in tag HTML line 2\r\n<XMLParserErrorList: 1: Space required after the Public Identifier\r\n2: Opening and ending tag mismatch: META line 3 and HEAD\r\n3: Opening and ending tag mismatch: hr line 5 and BODY\r\n4: Opening and ending tag mismatch: BODY line 4 and HTML\r\n5: Premature end of data in tag HEAD line 2\r\n6: Premature end of data in tag HTML line 2\r\n>\r\n> str(dataset)\r\n NULL\r\n> stats <- as.data.frame(dataset)\r\n> stats\r\ndata frame with 0 columns and 0 rows\r\n## try from a file\r\n## use the export facility on oecd.stat to export instead the same table instead\r\n> dataset <- readSDMX(\"~/Desktop/Downloads/DataGeneric.xml\", isURL=FALSE)\r\n\r\nHere is my sessionInfo()N output:\r\n\r\n> sessionInfo()\r\nR version 3.2.1 (2015-06-18)\r\nPlatform: x86_64-pc-linux-gnu (64-bit)\r\nRunning under: Ubuntu 15.04\r\n\r\nlocale:\r\n [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              \r\n [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_US.UTF-8    \r\n [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_US.UTF-8   \r\n [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                 \r\n [9] LC_ADDRESS=C               LC_TELEPHONE=C            \r\n[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       \r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] rsdmx_0.4-7  knitr_1.10.5\r\n\r\nloaded via a namespace (and not attached):\r\n[1] compiler_3.2.1 plyr_1.8.3     tools_3.2.1    RCurl_1.95-4.7 Rcpp_0.11.6   \r\n[6] bitops_1.0-6   XML_3.98-1.3  \r\n"},"comment":{"url":"https://api.github.com/repos/opensdmx/rsdmx/issues/comments/119863701","html_url":"https://github.com/opensdmx/rsdmx/issues/59#issuecomment-119863701","issue_url":"https://api.github.com/repos/opensdmx/rsdmx/issues/59","id":119863701,"user":{"login":"eblondel","id":1324396,"avatar_url":"https://avatars.githubusercontent.com/u/1324396?v=3","gravatar_id":"","url":"https://api.github.com/users/eblondel","html_url":"https://github.com/eblondel","followers_url":"https://api.github.com/users/eblondel/followers","following_url":"https://api.github.com/users/eblondel/following{/other_user}","gists_url":"https://api.github.com/users/eblondel/gists{/gist_id}","starred_url":"https://api.github.com/users/eblondel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eblondel/subscriptions","organizations_url":"https://api.github.com/users/eblondel/orgs","repos_url":"https://api.github.com/users/eblondel/repos","events_url":"https://api.github.com/users/eblondel/events{/privacy}","received_events_url":"https://api.github.com/users/eblondel/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T07:59:31Z","updated_at":"2015-07-09T07:59:31Z","body":"Hi @mjantti i've tested again and it seems the request works well now, OECD might had some issues with their server. ``rsdmx`` works also as expected. Can you please test if it works for you? if it's the case, you can close the ticket."}}