{"action":"closed","issue":{"url":"https://api.github.com/repos/hashmapinc/Tempus/issues/166","repository_url":"https://api.github.com/repos/hashmapinc/Tempus","labels_url":"https://api.github.com/repos/hashmapinc/Tempus/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/hashmapinc/Tempus/issues/166/comments","events_url":"https://api.github.com/repos/hashmapinc/Tempus/issues/166/events","html_url":"https://github.com/hashmapinc/Tempus/issues/166","id":309494005,"number":166,"title":"Export CSV","user":{"login":"cherrera2001","id":5923087,"avatar_url":"https://avatars3.githubusercontent.com/u/5923087?v=4","gravatar_id":"","url":"https://api.github.com/users/cherrera2001","html_url":"https://github.com/cherrera2001","followers_url":"https://api.github.com/users/cherrera2001/followers","following_url":"https://api.github.com/users/cherrera2001/following{/other_user}","gists_url":"https://api.github.com/users/cherrera2001/gists{/gist_id}","starred_url":"https://api.github.com/users/cherrera2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherrera2001/subscriptions","organizations_url":"https://api.github.com/users/cherrera2001/orgs","repos_url":"https://api.github.com/users/cherrera2001/repos","events_url":"https://api.github.com/users/cherrera2001/events{/privacy}","received_events_url":"https://api.github.com/users/cherrera2001/received_events","type":"User","site_admin":false},"labels":[{"id":832720306,"url":"https://api.github.com/repos/hashmapinc/Tempus/labels/review","name":"review","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"jetinder20","id":1548458,"avatar_url":"https://avatars3.githubusercontent.com/u/1548458?v=4","gravatar_id":"","url":"https://api.github.com/users/jetinder20","html_url":"https://github.com/jetinder20","followers_url":"https://api.github.com/users/jetinder20/followers","following_url":"https://api.github.com/users/jetinder20/following{/other_user}","gists_url":"https://api.github.com/users/jetinder20/gists{/gist_id}","starred_url":"https://api.github.com/users/jetinder20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetinder20/subscriptions","organizations_url":"https://api.github.com/users/jetinder20/orgs","repos_url":"https://api.github.com/users/jetinder20/repos","events_url":"https://api.github.com/users/jetinder20/events{/privacy}","received_events_url":"https://api.github.com/users/jetinder20/received_events","type":"User","site_admin":false},"assignees":[{"login":"jetinder20","id":1548458,"avatar_url":"https://avatars3.githubusercontent.com/u/1548458?v=4","gravatar_id":"","url":"https://api.github.com/users/jetinder20","html_url":"https://github.com/jetinder20","followers_url":"https://api.github.com/users/jetinder20/followers","following_url":"https://api.github.com/users/jetinder20/following{/other_user}","gists_url":"https://api.github.com/users/jetinder20/gists{/gist_id}","starred_url":"https://api.github.com/users/jetinder20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetinder20/subscriptions","organizations_url":"https://api.github.com/users/jetinder20/orgs","repos_url":"https://api.github.com/users/jetinder20/repos","events_url":"https://api.github.com/users/jetinder20/events{/privacy}","received_events_url":"https://api.github.com/users/jetinder20/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-28T19:10:52Z","updated_at":"2018-04-24T15:55:44Z","closed_at":"2018-04-24T15:55:44Z","author_association":"CONTRIBUTOR","body":"Right click or add a button on a device and be able to export all data to csv file. the data would either be attributes, time series, or (if enabled depth series). The user would have to choose which dataset to export.\n\nThe service will be a rest service inside of tempus, it will expose an API in the same pattern as the other services. The data will have to be pivoted for time series and depth series, the attributes can be output in columnar form. The data for time series and depth series will be pivoted on time, such that time is in the first column, and each mnemonic is another column with the values representing the rows:\n\n|TS     |Key 1 | Key 2 | Key 3\n|t1.    | 1.2      | 3.3    | 4.4\n\netc...\n\nIf after pivoting, not all the values are time aligned (meaning for time Tx you do not have a value for Key 2, leave it empty (i.e, no value just a comma immediately following the previous comma)\n\nThe tables it will read from are:\n\nFor Attributes:\nTable: ATTRIBUTE_KV \nColumns: LAST_UPDATE_TS, ATTRIBUTE_KEY, and Depending on type a value column\n\nFor Time series:\nTable: TS_KV\nColumns: TS, KEY1, Key2, Key3, ...\n\nFor Time series:\nTable: DS_KV\nColumns: TS, KEY1, Key2, Key3, ..."}}
{"actor":{"display_login":"cherrera2001"}}