{"action":"created","issue":{"url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/42","repository_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign","labels_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/42/comments","events_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/42/events","html_url":"https://github.com/DeclareDesign/DeclareDesign/issues/42","id":268899827,"number":42,"title":"problems when rbinding estimates/estimands with different number of columns","user":{"login":"acoppock","id":9171009,"avatar_url":"https://avatars2.githubusercontent.com/u/9171009?v=4","gravatar_id":"","url":"https://api.github.com/users/acoppock","html_url":"https://github.com/acoppock","followers_url":"https://api.github.com/users/acoppock/followers","following_url":"https://api.github.com/users/acoppock/following{/other_user}","gists_url":"https://api.github.com/users/acoppock/gists{/gist_id}","starred_url":"https://api.github.com/users/acoppock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoppock/subscriptions","organizations_url":"https://api.github.com/users/acoppock/orgs","repos_url":"https://api.github.com/users/acoppock/repos","events_url":"https://api.github.com/users/acoppock/events{/privacy}","received_events_url":"https://api.github.com/users/acoppock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-26T20:26:23Z","updated_at":"2018-02-17T05:29:53Z","closed_at":null,"author_association":"COLLABORATOR","body":"in `declare_design()` we do things like `rbind(estimates_df, causal_order[[i]](current_df))` which breaks if `estimates_df` and ` causal_order[[i]](current_df))` have different numbers of columns.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/comments/366418366","html_url":"https://github.com/DeclareDesign/DeclareDesign/issues/42#issuecomment-366418366","issue_url":"https://api.github.com/repos/DeclareDesign/DeclareDesign/issues/42","id":366418366,"user":{"login":"graemeblair","id":3320015,"avatar_url":"https://avatars2.githubusercontent.com/u/3320015?v=4","gravatar_id":"","url":"https://api.github.com/users/graemeblair","html_url":"https://github.com/graemeblair","followers_url":"https://api.github.com/users/graemeblair/followers","following_url":"https://api.github.com/users/graemeblair/following{/other_user}","gists_url":"https://api.github.com/users/graemeblair/gists{/gist_id}","starred_url":"https://api.github.com/users/graemeblair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemeblair/subscriptions","organizations_url":"https://api.github.com/users/graemeblair/orgs","repos_url":"https://api.github.com/users/graemeblair/repos","events_url":"https://api.github.com/users/graemeblair/events{/privacy}","received_events_url":"https://api.github.com/users/graemeblair/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T05:29:53Z","updated_at":"2018-02-17T05:29:53Z","author_association":"OWNER","body":"still broken: \r\n\r\n```\r\nlibrary(DeclareDesign)\r\n\r\n# M -- Model: Speculation on variables and relations between them\r\npopulation <- declare_population(N = 100, u = rnorm(N))\r\npotential_outcomes <- declare_potential_outcomes(Y_Z_0 = 0, \r\n                                                 Y_Z_1 = 1 + u)\r\n\r\n# D -- Data Strategy: Researcher interventions on the world\r\nassignment <- declare_assignment(m = 50) \r\n\r\n# A -- Answer Strategy: Conclusions to be drawn from data\r\nestimator <- declare_estimator(Y ~ Z, estimand = estimand)\r\nestimator2 <- declare_estimator(handler = function(data)\r\n  return(data.frame(est = 5, se = 3)), label = \"second_estimator\")\r\n\r\n# Design: Putting it all together\r\ndesign <- declare_design(population, \r\n                         potential_outcomes, \r\n                         assignment, \r\n                         reveal_outcomes, \r\n                         estimator, estimator2)\r\n```"}}
{"actor":{"display_login":"graemeblair"}}