{"action":"created","issue":{"url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/4845","repository_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat","labels_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/4845/labels{/name}","comments_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/4845/comments","events_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/4845/events","html_url":"https://github.com/africanmathsinitiative/R-Instat/issues/4845","id":347698487,"node_id":"MDU6SXNzdWUzNDc2OTg0ODc=","number":4845,"title":"New Conversions dialogue in Climatic menu","user":{"login":"rdstern","id":11226469,"node_id":"MDQ6VXNlcjExMjI2NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/11226469?v=4","gravatar_id":"","url":"https://api.github.com/users/rdstern","html_url":"https://github.com/rdstern","followers_url":"https://api.github.com/users/rdstern/followers","following_url":"https://api.github.com/users/rdstern/following{/other_user}","gists_url":"https://api.github.com/users/rdstern/gists{/gist_id}","starred_url":"https://api.github.com/users/rdstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdstern/subscriptions","organizations_url":"https://api.github.com/users/rdstern/orgs","repos_url":"https://api.github.com/users/rdstern/repos","events_url":"https://api.github.com/users/rdstern/events{/privacy}","received_events_url":"https://api.github.com/users/rdstern/received_events","type":"User","site_admin":false},"labels":[{"id":525884746,"node_id":"MDU6TGFiZWw1MjU4ODQ3NDY=","url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/labels/Climatic","name":"Climatic","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"dannyparsons","id":11214914,"node_id":"MDQ6VXNlcjExMjE0OTE0","avatar_url":"https://avatars1.githubusercontent.com/u/11214914?v=4","gravatar_id":"","url":"https://api.github.com/users/dannyparsons","html_url":"https://github.com/dannyparsons","followers_url":"https://api.github.com/users/dannyparsons/followers","following_url":"https://api.github.com/users/dannyparsons/following{/other_user}","gists_url":"https://api.github.com/users/dannyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyparsons/subscriptions","organizations_url":"https://api.github.com/users/dannyparsons/orgs","repos_url":"https://api.github.com/users/dannyparsons/repos","events_url":"https://api.github.com/users/dannyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/dannyparsons/received_events","type":"User","site_admin":false},"assignees":[{"login":"dannyparsons","id":11214914,"node_id":"MDQ6VXNlcjExMjE0OTE0","avatar_url":"https://avatars1.githubusercontent.com/u/11214914?v=4","gravatar_id":"","url":"https://api.github.com/users/dannyparsons","html_url":"https://github.com/dannyparsons","followers_url":"https://api.github.com/users/dannyparsons/followers","following_url":"https://api.github.com/users/dannyparsons/following{/other_user}","gists_url":"https://api.github.com/users/dannyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyparsons/subscriptions","organizations_url":"https://api.github.com/users/dannyparsons/orgs","repos_url":"https://api.github.com/users/dannyparsons/repos","events_url":"https://api.github.com/users/dannyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/dannyparsons/received_events","type":"User","site_admin":false},{"login":"shadrackkibet","id":26301973,"node_id":"MDQ6VXNlcjI2MzAxOTcz","avatar_url":"https://avatars2.githubusercontent.com/u/26301973?v=4","gravatar_id":"","url":"https://api.github.com/users/shadrackkibet","html_url":"https://github.com/shadrackkibet","followers_url":"https://api.github.com/users/shadrackkibet/followers","following_url":"https://api.github.com/users/shadrackkibet/following{/other_user}","gists_url":"https://api.github.com/users/shadrackkibet/gists{/gist_id}","starred_url":"https://api.github.com/users/shadrackkibet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadrackkibet/subscriptions","organizations_url":"https://api.github.com/users/shadrackkibet/orgs","repos_url":"https://api.github.com/users/shadrackkibet/repos","events_url":"https://api.github.com/users/shadrackkibet/events{/privacy}","received_events_url":"https://api.github.com/users/shadrackkibet/received_events","type":"User","site_admin":false},{"login":"Muthenya","id":32125033,"node_id":"MDQ6VXNlcjMyMTI1MDMz","avatar_url":"https://avatars3.githubusercontent.com/u/32125033?v=4","gravatar_id":"","url":"https://api.github.com/users/Muthenya","html_url":"https://github.com/Muthenya","followers_url":"https://api.github.com/users/Muthenya/followers","following_url":"https://api.github.com/users/Muthenya/following{/other_user}","gists_url":"https://api.github.com/users/Muthenya/gists{/gist_id}","starred_url":"https://api.github.com/users/Muthenya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Muthenya/subscriptions","organizations_url":"https://api.github.com/users/Muthenya/orgs","repos_url":"https://api.github.com/users/Muthenya/repos","events_url":"https://api.github.com/users/Muthenya/events{/privacy}","received_events_url":"https://api.github.com/users/Muthenya/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/milestones/35","html_url":"https://github.com/africanmathsinitiative/R-Instat/milestone/35","labels_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/milestones/35/labels","id":3582723,"node_id":"MDk6TWlsZXN0b25lMzU4MjcyMw==","number":35,"title":"0.4.23","description":"","creator":{"login":"dannyparsons","id":11214914,"node_id":"MDQ6VXNlcjExMjE0OTE0","avatar_url":"https://avatars1.githubusercontent.com/u/11214914?v=4","gravatar_id":"","url":"https://api.github.com/users/dannyparsons","html_url":"https://github.com/dannyparsons","followers_url":"https://api.github.com/users/dannyparsons/followers","following_url":"https://api.github.com/users/dannyparsons/following{/other_user}","gists_url":"https://api.github.com/users/dannyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyparsons/subscriptions","organizations_url":"https://api.github.com/users/dannyparsons/orgs","repos_url":"https://api.github.com/users/dannyparsons/repos","events_url":"https://api.github.com/users/dannyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/dannyparsons/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":3,"state":"open","created_at":"2018-08-20T09:04:08Z","updated_at":"2018-08-31T19:51:01Z","due_on":"2018-09-13T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-08-05T13:30:25Z","updated_at":"2018-09-03T13:46:59Z","closed_at":null,"author_association":"COLLABORATOR","body":"This is not really a new topic, but a new formulation of (parts) of other issues.\r\n\r\nIn discussion with Danny it seems that the sunshine hours calculation and the conversion of temperatures, etc, should have its own climatic dialogue.\r\n\r\nIt still needs a bit more discussion on the details of the dialogue.  Here is my go.\r\na) It is called Conversions and goes in **Climatic > Prepare and just under Transform**.\r\nb) It has 2 of our new-style buttons at the top.  The first is **Units** and the second is **Day Length**.\r\nc) If Units, then:\r\n\r\n1. Our ordinary selector.\r\n2. A single receiver label perhaps \"Element\"\r\n3. At the bottom the control for saving the result, with label Result into:  \r\n4. In the middle there are 3 combo boxes in a row.  The labels could be on top.  The first is labelled **Element** and has the 3 possibilities of Rain, Temperature, Wind.  The second is labelled **From** and the third is labelled **To**.\r\n\r\nIf Rain, then From and To contain: Inches, mm, cm\r\nIf Temp then: Centigrade, Fahrenheit, Kelvin\r\nIf Wind then: • knots: Knots, mph: Miles per hour, mps: Meters per second, ftps: Feet per second, kmph: Kilometers per hour\r\n\r\n5. There is also an up-down **Decimals**: 0 to 3 default is 1.\r\nSee the package for more details\r\n\r\nThey will run commands such as\r\nconvert_precip(x, old=\"m\",new=\"i\",round=2)\r\nconvert_temperature(x,old=\"c\",new=\"k\",round=1)\r\nconvert_wind_speed(x,old=\"kmph\",new=\"kn\",round=1)\r\n\r\n If Day Length, then:\r\n1. Usual Selector\r\n2. 2 single receivers on the right for **Station** and **Date**.\r\n3. A receiver for Latitude.  This is a bit like the receivers in the Climatic > Prepare > End of Rains in the end of Season bit.  \r\na) It has 2 buttons, labelled Value and Variable.  \r\nb) When Value is selected, then you type the Value, and after the Value field have a label Decimal.  \r\nc) If Variable, then you enter a column.\r\nd) In the equivalent Climatic > End of Rains there is also a \"replace NA with.  We don't need that here.\r\n\r\nIn the future the latitude (when it is a Variable) can be either from the same data frame as the Station and Date columns, or it could be from a linked data frame.  That's like the End of Rains dialogue.  Unless there is time, for now, have the data (including latitude) in the same data frame.\r\n\r\nThen Result into for the result.\r\nThis just runs the command geosphere::daylength(lat, doy), and doy can be a date column.\r\n  "},"comment":{"url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/comments/418120499","html_url":"https://github.com/africanmathsinitiative/R-Instat/issues/4845#issuecomment-418120499","issue_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/4845","id":418120499,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODEyMDQ5OQ==","user":{"login":"rdstern","id":11226469,"node_id":"MDQ6VXNlcjExMjI2NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/11226469?v=4","gravatar_id":"","url":"https://api.github.com/users/rdstern","html_url":"https://github.com/rdstern","followers_url":"https://api.github.com/users/rdstern/followers","following_url":"https://api.github.com/users/rdstern/following{/other_user}","gists_url":"https://api.github.com/users/rdstern/gists{/gist_id}","starred_url":"https://api.github.com/users/rdstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdstern/subscriptions","organizations_url":"https://api.github.com/users/rdstern/orgs","repos_url":"https://api.github.com/users/rdstern/repos","events_url":"https://api.github.com/users/rdstern/events{/privacy}","received_events_url":"https://api.github.com/users/rdstern/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T13:46:59Z","updated_at":"2018-09-03T13:46:59Z","author_association":"COLLABORATOR","body":"To me, both look fine."}}
{"actor":{"display_login":"rdstern"}}