{"id":13734380,"url":"https://github.com/dreamRs/tuicalendr","last_synced_at":"2025-05-08T10:31:42.537Z","repository":{"id":95092658,"uuid":"186444395","full_name":"dreamRs/tuicalendr","owner":"dreamRs","description":":calendar: R htmlwidget for tui-calendar","archived":true,"fork":false,"pushed_at":"2021-07-27T13:10:04.000Z","size":1471,"stargazers_count":55,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-28T23:08:23.208Z","etag":null,"topics":["data-visualization","htmlwidgets","r"],"latest_commit_sha":null,"homepage":"https://dreamrs.github.io/tuicalendr/","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/dreamRs.png","metadata":{"files":{"readme":"README.md","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":"2019-05-13T15:13:26.000Z","updated_at":"2023-01-28T06:59:34.000Z","dependencies_parsed_at":"2023-06-26T00:00:39.210Z","dependency_job_id":null,"html_url":"https://github.com/dreamRs/tuicalendr","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/dreamRs%2Ftuicalendr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuicalendr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuicalendr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuicalendr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamRs","download_url":"https://codeload.github.com/dreamRs/tuicalendr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224720935,"owners_count":17358484,"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-visualization","htmlwidgets","r"],"created_at":"2024-08-03T03:00:55.179Z","updated_at":"2024-11-15T02:32:37.625Z","avatar_url":"https://github.com/dreamRs.png","language":"R","funding_links":[],"categories":["UI Components","R"],"sub_categories":["Calendar"],"readme":"# tuicalendr\n\n\u003e Htmlwidget to create interactive calendar with JavaScript library [tui-calendar](https://github.com/nhn/tui.calendar)\n\n\u003c!-- badges: start --\u003e\n[![Travis build status](https://travis-ci.org/dreamRs/tuicalendr.svg?branch=master)](https://travis-ci.org/dreamRs/tuicalendr)\n[![R build status](https://github.com/dreamRs/tuicalendr/workflows/R-CMD-check/badge.svg)](https://github.com/dreamRs/tuicalendr/actions)\n[![Lifecycle: superseded](https://img.shields.io/badge/lifecycle-superseded-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#superseded)\n[![Project Status: Moved to https://github.com/dreamRs/toastui – The project has been moved to a new location, and the version at that location should be considered authoritative.](https://www.repostatus.org/badges/latest/moved.svg)](https://www.repostatus.org/#moved) to [dreamRs/toastui](https://github.com/dreamRs/toastui)\n\u003c!-- badges: end --\u003e\n\n\n# New version\n\n:warning: :warning: :warning: :warning: :warning: :warning: :warning: :warning: :warning: :warning:\n\nNew version of this package is available at https://github.com/dreamRs/toastui\n\n:warning: :warning: :warning: :warning: :warning: :warning: :warning: :warning: :warning: :warning:\n\n\n# Old version\n\n## Installation\n\nYou can install from GitHub with:\n\n```r\nremotes::install_github(\"dreamRs/tuicalendr\")\n```\n\n## Examples\n\nWeekly calendar:\n\n```r\nlibrary(tuicalendr)\ncalendar(defaultView = \"week\", taskView = TRUE, scheduleView = c(\"time\", \"allday\")) %\u003e% \n  set_calendars_props(id = \"courses\", name = \"Courses\", color = \"#FFF\", bgColor = \"#E41A1C\") %\u003e% \n  set_calendars_props(id = \"hobbies\", name = \"Hobbies\", color = \"#FFF\", bgColor = \"#377EB8\") %\u003e% \n  set_calendars_props(id = \"social\", name = \"Social\", color = \"#FFF\", bgColor = \"#4DAF4A\") %\u003e% \n  add_schedule(\n    calendarId = \"courses\",\n    title = \"R - introduction\", \n    body = \"What is R?\",\n    start = sprintf(\"%s 08:00:00\", Sys.Date() - 1),\n    end = sprintf(\"%s 12:30:00\", Sys.Date() - 1),\n    category = \"time\"\n  ) %\u003e% \n  add_schedule(\n    calendarId = \"courses\",\n    title = \"R - visualisation\", \n    body = \"With ggplot2\",\n    start = sprintf(\"%s 13:30:00\", Sys.Date() - 1),\n    end = sprintf(\"%s 18:00:00\", Sys.Date() - 1),\n    category = \"time\"\n  ) %\u003e% \n  add_schedule(\n    calendarId = \"hobbies\",\n    title = \"Read The Expanse\", \n    body = \"Vol. 5 : Nemesis Games\",\n    start = Sys.Date(),\n    end = Sys.Date(),\n    category = \"allday\"\n  ) %\u003e% \n  add_schedule(\n    calendarId = \"social\",\n    title = \"Lunch\", \n    body = \"With Fanny\",\n    start = sprintf(\"%s 12:00:00\", Sys.Date() + 1),\n    end = sprintf(\"%s 14:00:00\", Sys.Date() + 1),\n    category = \"time\"\n  )\n```\n![](man/figures/example-week.png)\n\n\nMonth calendar:\n\n```r\ncalendar(defaultView = \"month\", taskView = TRUE, scheduleView = c(\"time\", \"allday\"), useNav = TRUE) %\u003e% \n  set_calendars_props(id = \"courses\", name = \"Courses\", color = \"#FFF\", bgColor = \"#E41A1C\") %\u003e% \n  set_calendars_props(id = \"hobbies\", name = \"Hobbies\", color = \"#FFF\", bgColor = \"#377EB8\") %\u003e% \n  set_calendars_props(id = \"social\", name = \"Social\", color = \"#FFF\", bgColor = \"#4DAF4A\") %\u003e% \n  add_schedule(\n    calendarId = \"courses\",\n    title = \"R - introduction\", \n    body = \"What is R?\",\n    start = sprintf(\"%s 08:00:00\", Sys.Date() - 1),\n    end = sprintf(\"%s 12:30:00\", Sys.Date() - 1),\n    category = \"time\"\n  ) %\u003e% \n  add_schedule(\n    calendarId = \"courses\",\n    title = \"R - visualisation\", \n    body = \"With ggplot2\",\n    start = sprintf(\"%s 13:30:00\", Sys.Date() - 1),\n    end = sprintf(\"%s 18:00:00\", Sys.Date() - 1),\n    category = \"time\"\n  ) %\u003e% \n  add_schedule(\n    calendarId = \"hobbies\",\n    title = \"Read The Expanse\", \n    body = \"Vol. 5 : Nemesis Games\",\n    start = Sys.Date(),\n    end = Sys.Date() + 4,\n    category = \"allday\"\n  ) %\u003e% \n  add_schedule(\n    calendarId = \"social\",\n    title = \"Lunch\", \n    body = \"With Fanny\",\n    start = sprintf(\"%s 12:00:00\", Sys.Date() + 7),\n    end = sprintf(\"%s 14:00:00\", Sys.Date() + 7),\n    category = \"time\"\n  )\n```\n![](man/figures/example-month.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdreamRs%2Ftuicalendr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FdreamRs%2Ftuicalendr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdreamRs%2Ftuicalendr/lists"}