{"id":16571903,"url":"https://github.com/hrbrmstr/forcequotes","last_synced_at":"2025-03-05T14:19:16.907Z","repository":{"id":141238191,"uuid":"165432513","full_name":"hrbrmstr/forcequotes","owner":"hrbrmstr","description":"⊩Retrieve and optionally display to the console random quotes from Star Wars films","archived":false,"fork":false,"pushed_at":"2019-01-12T21:02:57.000Z","size":54,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T02:52:36.656Z","etag":null,"topics":["r","rest-api","rstats","star-wars"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"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":"2019-01-12T20:24:04.000Z","updated_at":"2022-06-21T23:23:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"d29fe60d-aeed-479f-b5ab-08244813d004","html_url":"https://github.com/hrbrmstr/forcequotes","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/hrbrmstr%2Fforcequotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fforcequotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fforcequotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fforcequotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/forcequotes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039717,"owners_count":20061928,"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":["r","rest-api","rstats","star-wars"],"created_at":"2024-10-11T21:25:38.416Z","updated_at":"2025-03-05T14:19:16.884Z","avatar_url":"https://github.com/hrbrmstr.png","language":"R","readme":"---\noutput: rmarkdown::github_document\neditor_options: \n  chunk_output_type: console\n---\n```{r pkg-knitr-opts, include=FALSE}\nknitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE)\noptions(width=120)\n```\n\n[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/forcequotes.svg?branch=master)](https://travis-ci.org/hrbrmstr/forcequotes) \n[![Coverage Status](https://codecov.io/gh/hrbrmstr/forcequotes/branch/master/graph/badge.svg)](https://codecov.io/gh/hrbrmstr/forcequotes)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/forcequotes)](https://cran.r-project.org/package=forcequotes)\n\n![](man/figures/force-quotes.png)\n\n# forcequotes\n\nReturn Random Star Wars Quotes\n\n## Description\n\nNow you can use the R 'Force' to get random quotes from your favorite\nspace opera. This is a thin wrapper to the 'Star Wars Quote API'\n(\u003chttp://swquotesapi.digitaljedi.dk/index.html\u003e).\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n- `quote_console`:\tGet a random Star Wars quote and display it stylishly to the console\n- `random_quote:\tReturn a Random Star Wars Quote\n\n## Installation\n\n```{r install-ex, eval=FALSE}\ndevtools::install_git(\"https://gitlab.com/hrbrmstr/forcequotes.git\")\n# or\ndevtools::install_github(\"hrbrmstr/forcequotes\")\n```\n\n## Usage\n\n```{r lib-ex}\nlibrary(forcequotes)\n\n# current version\npackageVersion(\"forcequotes\")\n\n```\n\n### Basic use\n\n```{r basics}\nrandom_quote()\n\nrandom_quote(faction=0)\n\nrandom_quote(faction=1)\n\nrandom_quote(faction=2)\n\nrandom_quote(faction=3)\n\nrandom_quote(faction=4)\n\n```\n\n### Console shenanigans\n\n```{r console}\nquote_console()\n```\n\n## forcequotes Metrics\n\n```{r cloc, echo=FALSE}\ncloc::cloc_pkg_md()\n```\n\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). \nBy participating in this project you agree to abide by its terms.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fforcequotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fforcequotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fforcequotes/lists"}