{"action":"created","issue":{"url":"https://api.github.com/repos/GolosChain/golos-explorer/issues/61","repository_url":"https://api.github.com/repos/GolosChain/golos-explorer","labels_url":"https://api.github.com/repos/GolosChain/golos-explorer/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/GolosChain/golos-explorer/issues/61/comments","events_url":"https://api.github.com/repos/GolosChain/golos-explorer/issues/61/events","html_url":"https://github.com/GolosChain/golos-explorer/issues/61","id":341023338,"node_id":"MDU6SXNzdWUzNDEwMjMzMzg=","number":61,"title":"ресерч: интегрирация с Shiny Server","user":{"login":"epexa","id":2198826,"node_id":"MDQ6VXNlcjIxOTg4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/2198826?v=4","gravatar_id":"","url":"https://api.github.com/users/epexa","html_url":"https://github.com/epexa","followers_url":"https://api.github.com/users/epexa/followers","following_url":"https://api.github.com/users/epexa/following{/other_user}","gists_url":"https://api.github.com/users/epexa/gists{/gist_id}","starred_url":"https://api.github.com/users/epexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epexa/subscriptions","organizations_url":"https://api.github.com/users/epexa/orgs","repos_url":"https://api.github.com/users/epexa/repos","events_url":"https://api.github.com/users/epexa/events{/privacy}","received_events_url":"https://api.github.com/users/epexa/received_events","type":"User","site_admin":false},"labels":[{"id":874869598,"node_id":"MDU6TGFiZWw4NzQ4Njk1OTg=","url":"https://api.github.com/repos/GolosChain/golos-explorer/labels/R&D","name":"R&D","color":"993300","default":false},{"id":874869618,"node_id":"MDU6TGFiZWw4NzQ4Njk2MTg=","url":"https://api.github.com/repos/GolosChain/golos-explorer/labels/epic","name":"epic","color":"F740DB","default":false},{"id":874869582,"node_id":"MDU6TGFiZWw4NzQ4Njk1ODI=","url":"https://api.github.com/repos/GolosChain/golos-explorer/labels/medium","name":"medium","color":"F8FFB2","default":false}],"state":"open","locked":false,"assignee":{"login":"epexa","id":2198826,"node_id":"MDQ6VXNlcjIxOTg4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/2198826?v=4","gravatar_id":"","url":"https://api.github.com/users/epexa","html_url":"https://github.com/epexa","followers_url":"https://api.github.com/users/epexa/followers","following_url":"https://api.github.com/users/epexa/following{/other_user}","gists_url":"https://api.github.com/users/epexa/gists{/gist_id}","starred_url":"https://api.github.com/users/epexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epexa/subscriptions","organizations_url":"https://api.github.com/users/epexa/orgs","repos_url":"https://api.github.com/users/epexa/repos","events_url":"https://api.github.com/users/epexa/events{/privacy}","received_events_url":"https://api.github.com/users/epexa/received_events","type":"User","site_admin":false},"assignees":[{"login":"epexa","id":2198826,"node_id":"MDQ6VXNlcjIxOTg4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/2198826?v=4","gravatar_id":"","url":"https://api.github.com/users/epexa","html_url":"https://github.com/epexa","followers_url":"https://api.github.com/users/epexa/followers","following_url":"https://api.github.com/users/epexa/following{/other_user}","gists_url":"https://api.github.com/users/epexa/gists{/gist_id}","starred_url":"https://api.github.com/users/epexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epexa/subscriptions","organizations_url":"https://api.github.com/users/epexa/orgs","repos_url":"https://api.github.com/users/epexa/repos","events_url":"https://api.github.com/users/epexa/events{/privacy}","received_events_url":"https://api.github.com/users/epexa/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-13T13:40:29Z","updated_at":"2018-08-01T12:55:06Z","closed_at":null,"author_association":"COLLABORATOR","body":"чтобы связать аналитику которая сделана через Shiny Server, нужно провести ресерч, как интегрировать Shiny Server с эксплорером."},"comment":{"url":"https://api.github.com/repos/GolosChain/golos-explorer/issues/comments/409564673","html_url":"https://github.com/GolosChain/golos-explorer/issues/61#issuecomment-409564673","issue_url":"https://api.github.com/repos/GolosChain/golos-explorer/issues/61","id":409564673,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTU2NDY3Mw==","user":{"login":"epexa","id":2198826,"node_id":"MDQ6VXNlcjIxOTg4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/2198826?v=4","gravatar_id":"","url":"https://api.github.com/users/epexa","html_url":"https://github.com/epexa","followers_url":"https://api.github.com/users/epexa/followers","following_url":"https://api.github.com/users/epexa/following{/other_user}","gists_url":"https://api.github.com/users/epexa/gists{/gist_id}","starred_url":"https://api.github.com/users/epexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epexa/subscriptions","organizations_url":"https://api.github.com/users/epexa/orgs","repos_url":"https://api.github.com/users/epexa/repos","events_url":"https://api.github.com/users/epexa/events{/privacy}","received_events_url":"https://api.github.com/users/epexa/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T12:55:06Z","updated_at":"2018-08-01T12:55:06Z","author_association":"COLLABORATOR","body":"**вывод:\r\nесть возможность [переделать R скрипты так, чтобы Shiny Server отдавал JSON](https://stackoverflow.com/questions/25297489/accept-http-request-in-r-shiny-application#25297636), т.е работал как HTTP API. однако использование Shiny Server как публичный HTTP API @muhazzz считает не очень, т.к. считает данное ПО не предназначено для публичного сервиса.\r\nпоэтому пришли к решению, что R скрипты будут по крону сохранять JSON в файлы, далее Nginx будет отдавать их (с кэшированием), а эксплорер будет обращаться к этим файлам. поэтому следующая задача - это интегрирация готового графика (который генерирует [Shiny Dashbord](https://github.com/rstudio/shinydashboard)) с готовыми данными (который генерирует [Shiny Server](https://github.com/rstudio/shiny-server)) в эксплорер, и разработка архитектуры в эксплорере так, чтобы можно было легко интегрировать новые готовые графики.\r\n_P.S. вообще я считаю, что всю аналитику и статистику нужно писать на NodeJS, в [существующем бекенде для эксплорера](https://github.com/GolosChain/golos-explorer-api)._**\r\n"}}
{"actor":{"display_login":"epexa"}}