{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/comments/58503257","id":58503257,"diff_hunk":"@@ -1,23 +1,93 @@\n using Compat\n \n-export AbstractCompositeDataFrame, CompositeDataFrame\n+export AbstractCompositeDataFrame, AbstractCompositeDataFrameRow, \n+       CompositeDataFrame, row\n \n+\"\"\"\n+    AbstractCompositeDataFrame\n+    \n+An abstract type that is an AbstractDataFrame. Each type that inherits from\n+this is expected to be a type-stable data frame. \n+\"\"\"\n abstract AbstractCompositeDataFrame <: AbstractDataFrame\n \n+abstract AbstractCompositeDataFrameRow\n+\n+\n+\"\"\"\n+    row(cdf::AbstractCompositeDataFrame, i)\n+    \n+Return the `CompositeDataFrameRow` object for row `i` of `cdf`. This object has\n+the same fields as `cdf` where the type of each field is taken from the `eltype`\n+of the field in `cdf`. \n+\n+See also `eachrow(cdf)`.\n+\n+```julia\n+df = CompositeDataFrame(x = 1:3, y = [2, 1, 6])\n+dfr = row(df, 3)\n+dfr.y   # 6\n+```\n+\"\"\"\n+row() = nothing\n+\n+\"\"\"\n+```julia","path":"src/compositedataframe.jl","position":36,"original_position":36,"commit_id":"e4452e26221f6cfed54d59689ce4b44435d1e4bd","original_commit_id":"e4452e26221f6cfed54d59689ce4b44435d1e4bd","user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"body":"The convention is to use a four-space indent.","created_at":"2016-04-05T08:25:18Z","updated_at":"2016-04-05T08:25:19Z","html_url":"https://github.com/JuliaStats/DataFramesMeta.jl/pull/50#discussion_r58503257","pull_request_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/comments/58503257"},"html":{"href":"https://github.com/JuliaStats/DataFramesMeta.jl/pull/50#discussion_r58503257"},"pull_request":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50","id":65233710,"html_url":"https://github.com/JuliaStats/DataFramesMeta.jl/pull/50","diff_url":"https://github.com/JuliaStats/DataFramesMeta.jl/pull/50.diff","patch_url":"https://github.com/JuliaStats/DataFramesMeta.jl/pull/50.patch","issue_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/50","number":50,"state":"open","locked":false,"title":"Improvements to CompositeDataFrames, including type-stable row access","user":{"login":"tshort","id":636420,"avatar_url":"https://avatars.githubusercontent.com/u/636420?v=3","gravatar_id":"","url":"https://api.github.com/users/tshort","html_url":"https://github.com/tshort","followers_url":"https://api.github.com/users/tshort/followers","following_url":"https://api.github.com/users/tshort/following{/other_user}","gists_url":"https://api.github.com/users/tshort/gists{/gist_id}","starred_url":"https://api.github.com/users/tshort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshort/subscriptions","organizations_url":"https://api.github.com/users/tshort/orgs","repos_url":"https://api.github.com/users/tshort/repos","events_url":"https://api.github.com/users/tshort/events{/privacy}","received_events_url":"https://api.github.com/users/tshort/received_events","type":"User","site_admin":false},"body":"Includes:\r\n\r\n*  `row(d,i)` and `eachrow(d, i)` for type-stable row access\r\n* Named composite type creation\r\n* More documentation","created_at":"2016-04-05T00:19:53Z","updated_at":"2016-04-05T08:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7c172fd61be77d595d4a03f93dfc1cccd653ba6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50/commits","review_comments_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50/comments","review_comment_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/50/comments","statuses_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/statuses/e4452e26221f6cfed54d59689ce4b44435d1e4bd","head":{"label":"JuliaStats:ts/cdf-updates","ref":"ts/cdf-updates","sha":"e4452e26221f6cfed54d59689ce4b44435d1e4bd","user":{"login":"JuliaStats","id":2761531,"avatar_url":"https://avatars.githubusercontent.com/u/2761531?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaStats","html_url":"https://github.com/JuliaStats","followers_url":"https://api.github.com/users/JuliaStats/followers","following_url":"https://api.github.com/users/JuliaStats/following{/other_user}","gists_url":"https://api.github.com/users/JuliaStats/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaStats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaStats/subscriptions","organizations_url":"https://api.github.com/users/JuliaStats/orgs","repos_url":"https://api.github.com/users/JuliaStats/repos","events_url":"https://api.github.com/users/JuliaStats/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaStats/received_events","type":"Organization","site_admin":false},"repo":{"id":16530347,"name":"DataFramesMeta.jl","full_name":"JuliaStats/DataFramesMeta.jl","owner":{"login":"JuliaStats","id":2761531,"avatar_url":"https://avatars.githubusercontent.com/u/2761531?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaStats","html_url":"https://github.com/JuliaStats","followers_url":"https://api.github.com/users/JuliaStats/followers","following_url":"https://api.github.com/users/JuliaStats/following{/other_user}","gists_url":"https://api.github.com/users/JuliaStats/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaStats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaStats/subscriptions","organizations_url":"https://api.github.com/users/JuliaStats/orgs","repos_url":"https://api.github.com/users/JuliaStats/repos","events_url":"https://api.github.com/users/JuliaStats/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaStats/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaStats/DataFramesMeta.jl","description":"Metaprogramming tools for DataFrames ","fork":false,"url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl","forks_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/forks","keys_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/teams","hooks_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/events","assignees_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/tags","blobs_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/subscription","commits_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/merges","archive_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/downloads","issues_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/deployments","created_at":"2014-02-05T00:16:36Z","updated_at":"2016-03-20T13:19:50Z","pushed_at":"2016-04-05T07:29:27Z","git_url":"git://github.com/JuliaStats/DataFramesMeta.jl.git","ssh_url":"git@github.com:JuliaStats/DataFramesMeta.jl.git","clone_url":"https://github.com/JuliaStats/DataFramesMeta.jl.git","svn_url":"https://github.com/JuliaStats/DataFramesMeta.jl","homepage":null,"size":87,"stargazers_count":53,"watchers_count":53,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":6,"forks":11,"open_issues":6,"watchers":53,"default_branch":"master"}},"base":{"label":"JuliaStats:master","ref":"master","sha":"04cb11850655de5d2e2fd02ade568a911738bff0","user":{"login":"JuliaStats","id":2761531,"avatar_url":"https://avatars.githubusercontent.com/u/2761531?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaStats","html_url":"https://github.com/JuliaStats","followers_url":"https://api.github.com/users/JuliaStats/followers","following_url":"https://api.github.com/users/JuliaStats/following{/other_user}","gists_url":"https://api.github.com/users/JuliaStats/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaStats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaStats/subscriptions","organizations_url":"https://api.github.com/users/JuliaStats/orgs","repos_url":"https://api.github.com/users/JuliaStats/repos","events_url":"https://api.github.com/users/JuliaStats/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaStats/received_events","type":"Organization","site_admin":false},"repo":{"id":16530347,"name":"DataFramesMeta.jl","full_name":"JuliaStats/DataFramesMeta.jl","owner":{"login":"JuliaStats","id":2761531,"avatar_url":"https://avatars.githubusercontent.com/u/2761531?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaStats","html_url":"https://github.com/JuliaStats","followers_url":"https://api.github.com/users/JuliaStats/followers","following_url":"https://api.github.com/users/JuliaStats/following{/other_user}","gists_url":"https://api.github.com/users/JuliaStats/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaStats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaStats/subscriptions","organizations_url":"https://api.github.com/users/JuliaStats/orgs","repos_url":"https://api.github.com/users/JuliaStats/repos","events_url":"https://api.github.com/users/JuliaStats/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaStats/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaStats/DataFramesMeta.jl","description":"Metaprogramming tools for DataFrames ","fork":false,"url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl","forks_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/forks","keys_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/teams","hooks_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/events","assignees_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/tags","blobs_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/subscription","commits_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/merges","archive_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/downloads","issues_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/deployments","created_at":"2014-02-05T00:16:36Z","updated_at":"2016-03-20T13:19:50Z","pushed_at":"2016-04-05T07:29:27Z","git_url":"git://github.com/JuliaStats/DataFramesMeta.jl.git","ssh_url":"git@github.com:JuliaStats/DataFramesMeta.jl.git","clone_url":"https://github.com/JuliaStats/DataFramesMeta.jl.git","svn_url":"https://github.com/JuliaStats/DataFramesMeta.jl","homepage":null,"size":87,"stargazers_count":53,"watchers_count":53,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":6,"forks":11,"open_issues":6,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50"},"html":{"href":"https://github.com/JuliaStats/DataFramesMeta.jl/pull/50"},"issue":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/50"},"comments":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaStats/DataFramesMeta.jl/statuses/e4452e26221f6cfed54d59689ce4b44435d1e4bd"}}}}