{"id":22879298,"url":"https://github.com/utdata/r-across-examples","last_synced_at":"2025-07-26T13:16:03.169Z","repository":{"id":92281226,"uuid":"344000323","full_name":"utdata/r-across-examples","owner":"utdata","description":"Examples of using `across()` and `if_any()` in R.","archived":false,"fork":false,"pushed_at":"2021-03-03T04:28:07.000Z","size":649,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T20:44:25.171Z","etag":null,"topics":["r"],"latest_commit_sha":null,"homepage":"https://utdata.github.io/r-across-examples/","language":null,"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/utdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-03-03T04:24:29.000Z","updated_at":"2021-03-03T04:28:09.000Z","dependencies_parsed_at":"2023-06-08T06:30:31.364Z","dependency_job_id":null,"html_url":"https://github.com/utdata/r-across-examples","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/utdata%2Fr-across-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fr-across-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fr-across-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fr-across-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utdata","download_url":"https://codeload.github.com/utdata/r-across-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246483554,"owners_count":20784912,"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"],"created_at":"2024-12-13T16:38:47.867Z","updated_at":"2025-03-31T14:33:38.074Z","avatar_url":"https://github.com/utdata.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput:\n  html_document:\n    df_print: paged\nknit: (function(inputFile, encoding) { rmarkdown::render(\n    inputFile,\n    encoding = encoding,\n    output_dir = \"docs\",\n    output_file='index.html'\n  ) })\n---\n\n# Examples using across and if_any\n\nI've struggled trying to use the [`across()`](https://dplyr.tidyverse.org/reference/across.html) functions. I had a specific use case in mind that used `mutate()` across multiple columns for any value from a list.\n\nI figured it out!\n\n## Published notebooks\n\n- [mutate](https://utdata.github.io/r-across-examples/mutate-across.html)\n- [filter](https://utdata.github.io/r-across-examples/filter-across.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futdata%2Fr-across-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futdata%2Fr-across-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futdata%2Fr-across-examples/lists"}