{"id":32207449,"url":"https://github.com/lwjohnst86/carpenter","last_synced_at":"2025-10-22T05:53:28.076Z","repository":{"id":56937002,"uuid":"58760518","full_name":"lwjohnst86/carpenter","owner":"lwjohnst86","description":"Easily make descriptive statistics tables","archived":false,"fork":false,"pushed_at":"2022-08-31T08:04:25.000Z","size":128,"stargazers_count":9,"open_issues_count":14,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-22T05:53:08.137Z","etag":null,"topics":["characteristic-tables","cran","descriptive-statistics","r","rstats","science","table","tables"],"latest_commit_sha":null,"homepage":"http://carpenter.lukewjohnston.com/","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/lwjohnst86.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-13T17:42:12.000Z","updated_at":"2022-03-23T05:04:31.000Z","dependencies_parsed_at":"2022-08-21T05:50:52.871Z","dependency_job_id":null,"html_url":"https://github.com/lwjohnst86/carpenter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lwjohnst86/carpenter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwjohnst86%2Fcarpenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwjohnst86%2Fcarpenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwjohnst86%2Fcarpenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwjohnst86%2Fcarpenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwjohnst86","download_url":"https://codeload.github.com/lwjohnst86/carpenter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwjohnst86%2Fcarpenter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280389299,"owners_count":26322507,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["characteristic-tables","cran","descriptive-statistics","r","rstats","science","table","tables"],"created_at":"2025-10-22T05:53:22.812Z","updated_at":"2025-10-22T05:53:28.065Z","avatar_url":"https://github.com/lwjohnst86.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# carpenter: Making Tables \u003cimg src=\"man/figures/logo.png\" align=\"right\" height=140/\u003e\n\n[![Travis-CI Build Status](https://travis-ci.org/lwjohnst86/carpenter.svg?branch=master)](https://travis-ci.org/lwjohnst86/carpenter)\n[![CRAN Status Badge](http://www.r-pkg.org/badges/version/carpenter)](https://cran.r-project.org/package=carpenter)\n[![Coverage status](https://codecov.io/gh/lwjohnst86/carpenter/branch/master/graph/badge.svg)](https://codecov.io/github/lwjohnst86/carpenter?branch=master)\n[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/lwjohnst86/carpenter?branch=master\u0026svg=true)](https://ci.appveyor.com/project/lwjohnst86/carpenter)\n[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)\n[![Downloads](https://cranlogs.r-pkg.org/badges/carpenter)](https://www.r-pkg.org/pkg/carpenter)\n\nThe main goal of carpenter to simplify making those pesky descriptive/basic\ncharacteristic tables often used in biomedical journal articles. It was designed\nto work well within the tidyverse ecosystem, e.g. relying on using pipes to chain\nfunctions together or having multiple, dedicated functions to use (rather than a\nmonolithic one with lots of arguments).\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# Installation\n\nThis package is on CRAN, so install using: \n\n```{r, eval=FALSE}\ninstall.packages('carpenter')\n```\n\nFor the developmental version, install from GitHub:\n\n```{r, eval=FALSE}\n# install.packages(\"remotes\")\nremotes::install_github('lwjohnst86/carpenter')\n```\n\n# Example usage\n\nHere is an example workflow for making tables:\n\n```{r example}\nlibrary(carpenter)\noutline_table(iris, 'Species') %\u003e% \n    add_rows('Sepal.Length', stat_meanSD) %\u003e%\n    add_rows('Petal.Length', stat_meanSD) %\u003e%\n    add_rows('Sepal.Width', stat_medianIQR) %\u003e% \n    build_table() \n```\n\nFor a more detailed view of how to use carpenter, see `?carpenter` or\n`vignette('carpenter')`. Or view the vignette directly [here](https://htmlpreview.github.io/?https://github.com/lwjohnst86/carpenter/blob/master/vignettes/carpenter.html)\n\n# Resources\n\nThere are several packages out there that help with making tables. Most of them \nwork to output and customize the tables into a given format, for instance\nmarkdown or html, but assume the data is in the form you already want to present\nit in. So they don't help with getting the data into the form of a table (in\nthe context of descriptive/basic characteristic tables often seen in biomedical\nresearch). Even still, they are very useful to look over and learn about!\n\n- [`pander`](http://rapporter.github.io/pander/)\n- [`pixiedust`](https://cran.r-project.org/package=pixiedust)\n- [`stargazer`](https://cran.r-project.org/package=stargazer)\n- [`htmlTable`](https://cran.r-project.org/package=htmlTable)\n- [`tableone`](https://cran.r-project.org/package=tableone)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwjohnst86%2Fcarpenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwjohnst86%2Fcarpenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwjohnst86%2Fcarpenter/lists"}