{"id":14068125,"url":"https://github.com/feddelegrand7/flipdownr","last_synced_at":"2025-04-06T10:32:26.812Z","repository":{"id":54872961,"uuid":"304631001","full_name":"feddelegrand7/flipdownr","owner":"feddelegrand7","description":"📆📆📆 Implement a Countdown in RMarkdown Documents and Shiny Applications","archived":false,"fork":false,"pushed_at":"2021-01-23T11:25:37.000Z","size":1802,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:04:04.334Z","etag":null,"topics":["javascript","rmarkdown","rstats","shiny"],"latest_commit_sha":null,"homepage":"https://ihaddadenfodil.com/post/introducing-the-flipdownr-package-create-a-countdown-in-rmarkdown-documents-and-shiny-apps/","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/feddelegrand7.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://www.buymeacoffee.com/Fodil"]}},"created_at":"2020-10-16T13:11:05.000Z","updated_at":"2024-07-24T10:18:49.000Z","dependencies_parsed_at":"2022-08-14T05:20:36.252Z","dependency_job_id":null,"html_url":"https://github.com/feddelegrand7/flipdownr","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/feddelegrand7%2Fflipdownr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feddelegrand7%2Fflipdownr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feddelegrand7%2Fflipdownr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feddelegrand7%2Fflipdownr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feddelegrand7","download_url":"https://codeload.github.com/feddelegrand7/flipdownr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247470340,"owners_count":20944146,"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":["javascript","rmarkdown","rstats","shiny"],"created_at":"2024-08-13T07:05:57.807Z","updated_at":"2025-04-06T10:32:26.001Z","avatar_url":"https://github.com/feddelegrand7.png","language":"R","funding_links":["https://www.buymeacoffee.com/Fodil"],"categories":["UI Components","R"],"sub_categories":["Animation Effects"],"readme":"---\r\noutput: github_document\r\n---\r\n\r\n\r\n\r\n\r\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\r\n\r\n```{r, include = FALSE}\r\nknitr::opts_chunk$set(\r\n  collapse = TRUE,\r\n  comment = \"#\u003e\",\r\n  fig.path = \"man/figures/README-\",\r\n  out.width = \"100%\"\r\n)\r\n```\r\n\r\n# flipdownr \u003ca\u003e\u003cimg src='man/figures/hex.png' align=\"right\" height=\"200\" /\u003e\u003c/a\u003e\r\n\r\n\u003c!-- badges: start --\u003e\r\n[![CRAN\\_Status\\_Badge](https://www.r-pkg.org/badges/version/flipdownr)](https://cran.r-project.org/package=flipdownr)\r\n[![CRAN\\_time\\_from\\_release](https://www.r-pkg.org/badges/ago/flipdownr)](https://cran.r-project.org/package=flipdownr)\r\n[![metacran\r\ndownloads](https://cranlogs.r-pkg.org/badges/flipdownr)](https://cran.r-project.org/package=flipdownr)\r\n[![metacran\r\ndownloads](https://cranlogs.r-pkg.org/badges/grand-total/flipdownr)](https://cran.r-project.org/package=flipdownr)\r\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://choosealicense.com/licenses/mit/)\r\n[![R\r\nbadge](https://img.shields.io/badge/Build%20with-♥%20and%20R-orange)](https://github.com/feddelegrand7/flipdownr)\r\n\u003c!-- badges: end --\u003e\r\n\r\nThe goal of `flipdownr` is to create a Countdown object within your RMarkdown documents and Shiny application. `flipdownr` is an R wrapper of the JavaScript library [flipdown](https://pbutcher.uk/flipdown/)\r\n\r\n\u003cbr\u003e\r\n\r\n![](man/figures/bh.gif)\r\n\r\n## Installation\r\n\r\nYou can install `flipdownr` from CRAN with: \r\n\r\n```{r, eval=FALSE}\r\n\r\ninstall.packages(\"flipdownr\")\r\n\r\n```\r\n\r\n## Functions and Arguments\r\n\r\n\u003e `flipdownr` has one function: `flipdown` which contains the following arguments: \r\n\r\n\u003e+ `downto`: the targeted date for the countdown. It must have the form of 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss`. Note that you can include the time zone (example UTC): 'yyyy-mm-dd hh:mm:ss UTC';\r\n\r\n\u003e+ `id`: the id of the countdown. Useful when you need to include many countdown objects in one document;\r\n\r\n\u003e+ `theme`: The theme of the flipdown object. For now you can choose from the following themes (if you have a preference don't hesitate to modify the `flipdown.min.css` file and send a PR): 'dark', 'light', 'gdila', 'youkous', 'ifri', 'saida';\r\n\r\n\u003e + `headings`: A character vector specifying the heading related to each time part. Defaults to English headings: c(\"Days\", \"Hours\", \"Minutes\", \"Seconds\").\r\n\r\n\r\n## Examples \r\n\r\nA demo is available [here](https://ihaddadenfodil.com/post/introducing-the-flipdownr-package-create-a-countdown-in-rmarkdown-documents-and-shiny-apps/)\r\n\r\n\r\n\r\n\r\n## Themes \r\n\r\nThe `dark` and `light` themes are exhibited within the demo above. Below you can check out the other themes: \r\n\r\n### gdila \r\n***\r\n\r\n\r\n![](man/figures/gdila.gif)\r\n\r\n\r\n\r\n\r\n### saida\r\n***\r\n![](man/figures/saida.gif)\r\n\r\n### youkous \r\n***\r\n\r\n![](man/figures/youkous.gif)\r\n\r\n### ifri\r\n***\r\n![](man/figures/ifri.gif)\r\n\r\n\r\n\r\n\r\n## Code of Conduct\r\n\r\nPlease note that the flipdownr project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\r\n\r\n\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeddelegrand7%2Fflipdownr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeddelegrand7%2Fflipdownr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeddelegrand7%2Fflipdownr/lists"}