{"id":33187030,"url":"https://globeandmail.github.io/tgamtheme/","last_synced_at":"2025-11-20T23:01:10.353Z","repository":{"id":48848572,"uuid":"331384081","full_name":"globeandmail/tgamtheme","owner":"globeandmail","description":"The Globe and Mail's graphics theme for ggplot2","archived":false,"fork":false,"pushed_at":"2023-12-15T08:19:19.000Z","size":306,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T04:42:57.227Z","etag":null,"topics":["data","data-journalism","data-visualization","journalism","news","r","r-package"],"latest_commit_sha":null,"homepage":"https://globeandmail.github.io/tgamtheme","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/globeandmail.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":"2021-01-20T17:43:12.000Z","updated_at":"2025-08-25T16:56:40.000Z","dependencies_parsed_at":"2024-12-26T06:13:54.633Z","dependency_job_id":"ade5206e-1be8-4bfd-aedb-af6ab0912e1a","html_url":"https://github.com/globeandmail/tgamtheme","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"0ea148937339cfa51630d1f4e259410759aa015f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/globeandmail/tgamtheme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globeandmail%2Ftgamtheme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globeandmail%2Ftgamtheme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globeandmail%2Ftgamtheme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globeandmail%2Ftgamtheme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globeandmail","download_url":"https://codeload.github.com/globeandmail/tgamtheme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globeandmail%2Ftgamtheme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285526205,"owners_count":27186656,"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-11-20T02:00:05.334Z","response_time":54,"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":["data","data-journalism","data-visualization","journalism","news","r","r-package"],"created_at":"2025-11-16T05:00:30.369Z","updated_at":"2025-11-20T23:01:10.339Z","avatar_url":"https://github.com/globeandmail.png","language":"R","funding_links":[],"categories":["Themes and aesthetics"],"sub_categories":[],"readme":"# TGAM theme\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/globeandmail/tgamtheme/workflows/R-CMD-check/badge.svg)](https://github.com/globeandmail/tgamtheme/actions)\n\u003c!-- badges: end --\u003e\n\nThis package contains a theme and colour palettes in The Globe and Mail's graphics style.\n\nIt's designed to be used as a companion to The Globe's data journalism template, [**startr**](https://github.com/globeandmail/startr), and its function library, [**upstartr**](https://github.com/globeandmail/upstartr).\n\n### Installation\n\n```r\ninstall.packages('tgamtheme')\n```\n\nOr, if you want to run a development version, you can install it from GitHub by doing:\n```r\ndevtools::install_github('globeandmail/tgamtheme')\nlibrary(tgamtheme)\n```\n\n### Usage\n\n```r\nmtcars %\u003e%\n  rownames_to_column() %\u003e%\n  ggplot(aes(x = reorder(rowname, mpg), y = mpg)) +\n  geom_col() +\n  coord_flip() +\n  theme_tgam(position = 'left') +\n  labs(\n    title = 'Fuel consumption for several types of vehicles',\n    subtitle = 'Vehicle models from 1973 to 1974',\n    caption = 'THE GLOBE AND MAIL, SOURCE: MOTOR TREND'\n  )\n```\n\nThere's also a palette, `tgam_pal`, along with `scale_color_tgam` and `scale_fill_tgam`.\n\n### Reference\n\nYou can find the full reference manual for `tgamtheme`'s functions [**here**](https://globeandmail.github.io/tgamtheme/).\n\n\n### Get in touch\n\nIf you've got any questions, feel free to send us an email, or give us a shout on Twitter:\n\n[![Tom Cardoso](https://avatars0.githubusercontent.com/u/2408118?v=3\u0026s=200)](https://github.com/tomcardoso)\n---\n[Tom Cardoso](mailto:tcardoso@globeandmail.com) \u003cbr\u003e [@tom_cardoso](https://www.twitter.com/tom_cardoso)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/globeandmail.github.io%2Ftgamtheme%2F","html_url":"https://awesome.ecosyste.ms/projects/globeandmail.github.io%2Ftgamtheme%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/globeandmail.github.io%2Ftgamtheme%2F/lists"}