{"id":13857559,"url":"https://github.com/uribo/tabularmaps","last_synced_at":"2025-10-22T03:36:26.940Z","repository":{"id":56936141,"uuid":"251153664","full_name":"uribo/tabularmaps","owner":"uribo","description":"Make 'tabular' Tile-Grid Geographical Maps","archived":false,"fork":false,"pushed_at":"2020-08-06T21:41:52.000Z","size":215,"stargazers_count":8,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-13T21:11:30.711Z","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":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uribo.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-29T23:11:21.000Z","updated_at":"2022-08-28T05:58:43.000Z","dependencies_parsed_at":"2022-08-21T06:20:47.480Z","dependency_job_id":null,"html_url":"https://github.com/uribo/tabularmaps","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uribo%2Ftabularmaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uribo%2Ftabularmaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uribo%2Ftabularmaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uribo%2Ftabularmaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uribo","download_url":"https://codeload.github.com/uribo/tabularmaps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225920389,"owners_count":17545479,"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-05T03:01:40.543Z","updated_at":"2025-10-22T03:36:26.811Z","avatar_url":"https://github.com/uribo.png","language":"R","funding_links":[],"categories":["R"],"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)\n```\n# tabularmaps\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental) \n[![CRAN\\_Status\\_Badge](http://www.r-pkg.org/badges/version/tabularmaps)](https://cran.r-project.org/package=tabularmaps)\n[![R build status](https://github.com/uribo/tabularmaps/workflows/R-CMD-check/badge.svg)](https://github.com/uribo/tabularmaps/actions)\n\u003c!-- badges: end --\u003e\n\ntabularmapsは、CC0で公開されている[カラム地図プロジェクト](https://github.com/tabularmaps/hq)が進める行政区分等のグリッドレイアウトによる可視化をRパッケージとして提供するものです。\n\n## インストール\n\nインストールはGitHubを経由して行います。まずremotesパッケージをCRANからインストールした後、`remotes::install_github()`で行ってください。\n\n``` r\ninstall.packages(\"remotes\")\nremotes::install_github(\"uribo/tabularmaps\")\n```\n\n## 使い方\n\n```{r example}\nlibrary(tabularmaps)\nlibrary(ggplot2)\n```\n\n**日本国内**\n\n47都道府県\n\n```{r demo_jpn77, eval=FALSE, echo=TRUE}\ntabularmap(jpn77, \n           x,\n           y,\n           group = prefecture,\n           fill = region_kanji, \n           label = prefecture_kanji, \n           size = 3,\n           family = \"IPAexGothic\") +\n  theme_tabularmap(base_family = \"IPAexGothic\") +\n  scale_fill_jpregion(lang = \"jp\",\n                      name = \"八地方区分\")\n```\n\n![](man/figures/README-demo_jpn77-2.png)\n東京23区\n\n```{r demo_tky23, eval=FALSE, echo=TRUE}\ntabularmap(tky23,\n           x,\n           y,\n           group = ward,\n           fill = ward,\n           label = ward_kanji,\n           family = \"IPAexGothic\",\n           .expand_size = 12.5) +\n  theme_tabularmap(base_family = \"IPAexGothic\") +\n  guides(fill = FALSE)\n```\n\n![](man/figures/README-demo_tky23-2.png)\n\n\n**国際**\n\nISO-3166による国名\n\n```{r demo_iso3166, eval=FALSE, echo=TRUE}\ntabularmap(iso3166, \n           x,\n           y,\n           group = iso3c,\n           fill = continent, \n           label = iso3c, \n           size = 2,\n           .expand_size = 20, \n           .radius_size = 10) +\n  theme_tabularmap() +\n  guides(fill = guide_legend(title = \"Continent\")) +\n  theme(legend.title = element_text(size = 10),\n        legend.text = element_text(size = 8))\n```\n\n![](man/figures/README-demo_iso3166-2.png)\n\n\n## Related works\n\n- [geofacet](https://github.com/hafen/geofacet)\n- [ggpol](https://github.com/erocoar/ggpol)\n- [statebins](https://github.com/hrbrmstr/statebins)\n- [waffle](https://github.com/hrbrmstr/waffle)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furibo%2Ftabularmaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furibo%2Ftabularmaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furibo%2Ftabularmaps/lists"}