{"id":18174448,"url":"https://github.com/robertzk/recombinator","last_synced_at":"2025-12-24T09:54:34.336Z","repository":{"id":69784883,"uuid":"43524798","full_name":"robertzk/recombinator","owner":"robertzk","description":"R recombinators for turning nested lists into data.frames","archived":false,"fork":false,"pushed_at":"2019-01-14T22:36:02.000Z","size":40,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-02T16:08:22.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertzk.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-01T22:35:26.000Z","updated_at":"2024-08-31T00:01:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8d69bf2-b0af-4e10-b115-5a06294651d8","html_url":"https://github.com/robertzk/recombinator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertzk%2Frecombinator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertzk%2Frecombinator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertzk%2Frecombinator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertzk%2Frecombinator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertzk","download_url":"https://codeload.github.com/robertzk/recombinator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246662357,"owners_count":20813737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-02T16:03:07.216Z","updated_at":"2025-12-24T09:54:34.285Z","avatar_url":"https://github.com/robertzk.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"R recombinators [![Build Status](https://travis-ci.org/robertzk/recombinator.svg?branch=master)](https://travis-ci.org/robertzk/recombinator) [![Coverage Status](https://coveralls.io/repos/robertzk/recombinator/badge.svg?branch=master)](https://coveralls.io/r/robertzk/recombinator)\n============\n\nAn R utility for turning nested lists into data.frames. This can\nbe useful for turning JSON into R lists, and then into data.frames.\n\nInstallation\n------------\n\nThe latest stable build can be downloaded from CRAN:\n\n```R\ninstall.packages(\"recombinator\")\n```\n\nTo install the latest development builds directly from GitHub, run this instead:\n\n```R\nif (!require(\"devtools\")) install.packages(\"devtools\")\ndevtools::install_github(\"robertzk/recombinator\")\n```\n\nUsage\n-----\n\nThere are two supported formats.\n\n * __Homogeneous lists__. A list where the first list element\n    is a character vector giving the names of the data.frame,\n    and the subsequent list elements themselves lists of values.\n * __Heterogeneous lists__. A list where each element is a named\n    list of values. In this format, `plyr::rbind` will be used\n    to take the union of all names and impute the ones missing\n    with NA values.\n\nHere are two examples of the respective format:\n\n```r\nrecombinator(list(c(\"a\",\"b\",\"c\"), list(1, F, 2), list(2, T, 3)))\n#   a     b c\n# 1 1 FALSE 2\n# 2 2  TRUE 3\n\nrecombinator(list(c(\"a\",\"b\",\"c\"), list(1, F, 2), list(2, T, 3)))\n# recombinator(list(list(a = 1, b = F, c = 2), list(a = 2, b = T, c = 3)))\n#  a     b c\n# 1 1 FALSE 2\n# 2 2  TRUE 3\n\n# The union of all observed keys is used for column names.\nrecombinator(list(list(a = 1, b = F, c = 2), list(a = 2, b = T, d = 4)))\n#   a     b  c  d\n# 1 1 FALSE  2 NA\n# 2 2  TRUE NA  4\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertzk%2Frecombinator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertzk%2Frecombinator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertzk%2Frecombinator/lists"}