{"id":13711925,"url":"https://botan.github.io/ggrounded/","last_synced_at":"2025-05-06T21:32:40.756Z","repository":{"id":160082519,"uuid":"635036636","full_name":"botan/ggrounded","owner":"botan","description":"Rounded Bar Plots","archived":false,"fork":false,"pushed_at":"2023-05-11T09:43:27.000Z","size":645,"stargazers_count":16,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T02:53:36.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://botan.github.io/ggrounded/","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/botan.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-05-01T20:31:29.000Z","updated_at":"2025-04-24T19:10:51.000Z","dependencies_parsed_at":"2023-07-11T07:15:20.874Z","dependency_job_id":null,"html_url":"https://github.com/botan/ggrounded","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botan%2Fggrounded","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botan%2Fggrounded/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botan%2Fggrounded/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botan%2Fggrounded/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botan","download_url":"https://codeload.github.com/botan/ggrounded/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772206,"owners_count":21801875,"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-08-02T23:01:13.014Z","updated_at":"2025-05-06T21:32:40.273Z","avatar_url":"https://github.com/botan.png","language":"R","funding_links":[],"categories":["Plot layers"],"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, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\",\n  dpi = 144\n)\n```\n\n# ggrounded \u003ca href=\"https://botan.github.io/ggrounded/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"139\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![R-CMD-check](https://github.com/botan/ggrounded/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/botan/ggrounded/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/botan/ggrounded/branch/main/graph/badge.svg)](https://app.codecov.io/gh/botan/ggrounded?branch=main)\n[![CRAN status](https://www.r-pkg.org/badges/version/ggrounded)](https://CRAN.R-project.org/package=ggrounded)\n\u003c!-- badges: end --\u003e\n\nggrounded creates bar plots with rounded corners using ggplot2.\n\n## Installation\n\nInstall the released version of ggrounded from CRAN:\n\n```{r, eval = FALSE}\ninstall.packages(\"ggrounded\")\n```\n\nOr install the development version from GitHub with:\n\n```{r, eval = FALSE}\n# install.packages(\"pak\")\npak::pak(\"botan/ggrounded\")\n```\n\n## Usage\n\nThere are two types of bar charts in ggplot2: `geom_bar()` and `geom_col()`. `geom_bar_rounded()` and `geom_col_rounded()` are wrappers on them for rounding the top corners. `geom_bar_rounded()` makes the height of the bar proportional to the number of cases in each group (or if the `weight` aesthetic is supplied, the sum of the weights). \n\n```{r example1}\nlibrary(ggrounded)\nlibrary(ggplot2)\n\nggplot(mpg, aes(class)) +\n  geom_bar_rounded()\n```\n\n If you want the heights of the bars to represent values in the data, use `geom_col_rounded()` instead.\n\n```{r example2}\nggplot(data.frame(x = letters[1:3], y = c(2.3, 1.9, 3.2)), aes(x, y)) +\n  geom_col_rounded()\n```\n\n## Code of Conduct\n\nPlease note that the ggrounded is released with a [contributor code of conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html). By contributing in this project you agree to abide by its terms.\n\n## License\n\nThis package is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/botan.github.io%2Fggrounded%2F","html_url":"https://awesome.ecosyste.ms/projects/botan.github.io%2Fggrounded%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/botan.github.io%2Fggrounded%2F/lists"}