{"id":24501824,"url":"https://github.com/py-b/listchr","last_synced_at":"2025-03-15T08:11:00.353Z","repository":{"id":183408568,"uuid":"115794320","full_name":"py-b/listchr","owner":"py-b","description":"List Columns to Character Conversion","archived":false,"fork":false,"pushed_at":"2020-07-24T12:55:12.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T22:45:32.446Z","etag":null,"topics":["data-manipulation","list-column","r"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/py-b.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-12-30T12:05:53.000Z","updated_at":"2020-07-24T12:55:14.000Z","dependencies_parsed_at":"2023-07-24T11:10:26.711Z","dependency_job_id":null,"html_url":"https://github.com/py-b/listchr","commit_stats":null,"previous_names":["py-b/listchr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-b%2Flistchr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-b%2Flistchr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-b%2Flistchr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-b%2Flistchr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/py-b","download_url":"https://codeload.github.com/py-b/listchr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243701449,"owners_count":20333631,"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":["data-manipulation","list-column","r"],"created_at":"2025-01-21T22:45:52.650Z","updated_at":"2025-03-15T08:11:00.332Z","avatar_url":"https://github.com/py-b.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# listchr\n\nThe goal of *listchr* is to flatten list-columns of a data frame into strings,\nin order to export it to a more simple format (csv, ...).\n\nThe reverse transformation (separated string to list) can also be done.\n\n## Installation\n\nYou can install *listchr* from github with :\n\n```{r gh-installation, eval = FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"py-b/listchr\")\n```\n\n## Example\n\nConvert all list-columns of a data frame into character vectors :\n\n```{r example}\nlibrary(listchr)\n\ndf \u003c- data.frame(x = 1:2)\ndf$y \u003c- list(letters[1:3], 1:2)\ndf$z \u003c- list(list(3:4, 5:7), \"d\")\n\nstr(df)\n\ndf2 \u003c- listcol_to_chr(df)\nstr(df2)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-b%2Flistchr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpy-b%2Flistchr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-b%2Flistchr/lists"}