{"id":17381724,"url":"https://github.com/dslc-io/tidytuesdayR","last_synced_at":"2025-02-27T10:30:26.436Z","repository":{"id":34193547,"uuid":"170223535","full_name":"dslc-io/tidytuesdayR","owner":"dslc-io","description":"Extract weekly TidyTuesday Data/Readme","archived":false,"fork":false,"pushed_at":"2024-09-17T11:00:37.000Z","size":5412,"stargazers_count":77,"open_issues_count":2,"forks_count":15,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-18T03:37:13.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dslc-io.github.io/tidytuesdayR/","language":"HTML","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/dslc-io.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-02-12T00:12:45.000Z","updated_at":"2024-09-17T10:59:11.000Z","dependencies_parsed_at":"2023-12-13T05:31:02.753Z","dependency_job_id":"337f97e2-0ddf-44f6-af34-529bd082d3eb","html_url":"https://github.com/dslc-io/tidytuesdayR","commit_stats":{"total_commits":80,"total_committers":3,"mean_commits":"26.666666666666668","dds":"0.22499999999999998","last_synced_commit":"51dfba6f4c33c6410473204b7893184b5e7b2b18"},"previous_names":["dslc-io/tidytuesdayr"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dslc-io%2FtidytuesdayR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dslc-io%2FtidytuesdayR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dslc-io%2FtidytuesdayR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dslc-io%2FtidytuesdayR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dslc-io","download_url":"https://codeload.github.com/dslc-io/tidytuesdayR/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219842816,"owners_count":16556562,"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-10-16T07:01:33.541Z","updated_at":"2024-10-16T07:04:42.590Z","avatar_url":"https://github.com/dslc-io.png","language":"HTML","funding_links":[],"categories":["HTML"],"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\n# tidytuesdayR \u003ca href=\"https://dslc-io.github.io/tidytuesdayR/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"138\" alt=\"tidytuesdayR website\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/tidytuesdayR)](https://CRAN.R-project.org/package=tidytuesdayR)\n[![R build status](https://github.com/dslc-io/tidytuesdayR/workflows/R-CMD-check/badge.svg)](https://github.com/dslc-io/tidytuesdayR/actions)\n[![Coverage\nstatus](https://codecov.io/gh/dslc-io/tidytuesdayR/branch/main/graph/badge.svg)](https://app.codecov.io/github/dslc-io/tidytuesdayR?branch=main)\n[![Downloads from the RStudio CRAN mirror](http://cranlogs.r-pkg.org/badges/tidytuesdayR)](https://cran.r-project.org/package=tidytuesdayR)\n[![License:\nMIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![R-CMD-check](https://github.com/dslc-io/tidytuesdayR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dslc-io/tidytuesdayR/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\ntidytuesdayR makes it easy to participate in the weekly [`#TidyTuesday`](https://tidytues.day/) project by providing functions to quickly import data posted to the [Tidy Tuesday repository](https://github.com/rfordatascience/tidytuesday).\n\n## Installation\n\nThis package is (usually) available on CRAN via:\n\n``` r\ninstall.packages(\"tidytuesdayR\")\n```\n\nTo get the latest in-development features, install the development version from GitHub:\n\n``` r\n#install.packages(\"pak\")\npak::pak(\"dslc-io/tidytuesdayR\")\n```\n\n## Usage\n\nThere are currently two methods to access the data from the respository.\n\n### Load the Data!\n\nThe simplest way is to use the `tt_load()` function. This\nfunction has accepts two types of inputs to determine which data to\ngrab. It can be a date as a string in the YYYY-MM-DD format like below.\n\n``` r\nlibrary(tidytuesdayR)\ntt_data \u003c- tt_load(\"2019-01-15\")\n```\n\nOr the function can accept the year as the first argument, and which\nweek of the year as the second.\n\n``` r\ntt_data \u003c- tt_load(2019, week=3) \n```\n\n`tt_load()` naively downloads *all* the data that is available and\nstores them in the resulting `tt_data` object. To access the data, use\nthe `$` or `[[` notation and the name of the dataset.\n\n``` r\ntt_data$agencies\ntt_data[[\"agencies\"]]\n```\n\nTo view the readme, either print the `tt_data` object or use the `readme()`\nfunction. When you print the `tt_data` object, you also get the available \ndatasets names printed in the console.\n\n``` r\nreadme(tt_data)\nprint(tt_data)\n```\n\n``` \n## Available Datasets:\n##  agencies \n##  launches \n##  \n```\n\n### TidyTemplate\n\nAs part of the goal of making participating in #TidyTuesday easier, {tidytuesdayR} now also provides a template!\nTo use it, just use the `use_tidytemplate()` function!\n\nBy default, the template will assume to be using the most recent TidyTuesday.\nHowever, you can pass a date object or character string in YYYY-MM-DD format \ndefining a different date you want to use. If you don't recall the exact date, \nno worries, you can use the `tt_available()` function to figure out which date\nand get the date to use!\n\n```r\n## this weeks TidyTuesday!\ntidytuesdayR::use_tidytemplate()\n\n## TidyTuesday from Week 42 of 2019\ntidytuesdayR::use_tidytemplate(refdate = \"2019-10-15\")\n```\n\nAdditionally, by default the template will create the new file in your working \ndirectory, using the \"YYYY_MM_DD\" format per good practices.\nHowever, if you are so inclined, you can rename it to whatever you wish.\n\n```r\ntidytuesdayR::use_tidytemplate(name = \"My Super Great TidyTuesday.Rmd\")\n```\n\n## Contributing\n\nPlease note that the ‘tidytuesdayR’ project is released with a\n[Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to\nthis project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdslc-io%2FtidytuesdayR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdslc-io%2FtidytuesdayR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdslc-io%2FtidytuesdayR/lists"}