{"id":18473624,"url":"https://github.com/robwiederstein/retirementdata","last_synced_at":"2025-05-13T00:49:32.960Z","repository":{"id":79534787,"uuid":"400011229","full_name":"RobWiederstein/retirementData","owner":"RobWiederstein","description":"The dataset provides demographic, economic, environmental, and health data by county to  determine retirement location.  All United States counties are included.","archived":false,"fork":false,"pushed_at":"2021-10-13T14:21:57.000Z","size":47592,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T00:49:28.674Z","etag":null,"topics":["flexdashboard","home-affordability","population","r","rmarkdown","shiny","us"],"latest_commit_sha":null,"homepage":"https://robwiederstein.github.io/retirementData/","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/RobWiederstein.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":"2021-08-26T02:04:00.000Z","updated_at":"2025-03-14T02:03:04.000Z","dependencies_parsed_at":"2023-05-10T23:30:20.705Z","dependency_job_id":null,"html_url":"https://github.com/RobWiederstein/retirementData","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/RobWiederstein%2FretirementData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobWiederstein%2FretirementData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobWiederstein%2FretirementData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobWiederstein%2FretirementData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobWiederstein","download_url":"https://codeload.github.com/RobWiederstein/retirementData/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850882,"owners_count":21973672,"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":["flexdashboard","home-affordability","population","r","rmarkdown","shiny","us"],"created_at":"2024-11-06T10:25:47.450Z","updated_at":"2025-05-13T00:49:32.932Z","avatar_url":"https://github.com/RobWiederstein.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\nalways_allow_html: true\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r options, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\",\n  out.width = \"100%\"\n)\n```\n\n```{r load-data, include = F}\nlibrary(retirementData)\nlibrary(kableExtra)\n```\n\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![R-CMD-check](https://github.com/RobWiederstein/retirement/workflows/R-CMD-check/badge.svg)](https://github.com/RobWiederstein/retirement/actions)\n[![License: MIT](https://img.shields.io/badge/license-MIT-bright%20green)](https://img.shields.io/badge/license-MIT-bright%20green)\n[![Codecov test coverage](https://codecov.io/gh/RobWiederstein/retirement/branch/main/graph/badge.svg)](https://codecov.io/gh/RobWiederstein/retirement?branch=main)\n[![Last Commit](https://img.shields.io/github/last-commit/RobWiederstein/retirementData)](https://img.shields.io/github/last-commit/RobWiederstein/retirementData)\n\u003c!-- badges: end --\u003e\n\n\u003ch4 align= \"center\"\u003e\n\u003ca href='https://rob-wiederstein.shinyapps.io/retirementdash/'\u003e\u003cimg src='man/figures/retirement-dashboard.jpg' align=\"center\" height=\"400\"/\u003e\u003cbr/\u003e\u003c/a\u003e\n\u003ca href='https://rob-wiederstein.shinyapps.io/retirementdash/'\u003eRetirement Locator\u003c/a\u003e\n\u003c/h4\u003e\n\n# Introduction\n\nThe goal of the `retirementData` package was to consolidate some diverse and relevant factors on where to locate for retirement.  The data is located in the `retirementData` package but displayed on a separate dashboard [here](https://rob-wiederstein.shinyapps.io/retirementdash/?_ga=2.99037854.1258475930.1633524763-1285109657.1633184174).  Within the package, the main dataset is `retirementLoc`. Its variables are:\n\n```{r list-variables, echo=F, fig.align='center'}\nlibrary(retirementData)\nnames(retirementLoc) |\u003e \n  matrix(ncol = 3, byrow = T) |\u003e\n  kableExtra::kbl() |\u003e\n  kable_styling(bootstrap_options = \"striped\", full_width = T, position = 'center')\n```\n\n\n\n## Installation\n\nYou can install the development and experimental version of `retirementData` from its [repository](https://github.com/RobWiederstein/retirementData) with:\n\n``` r\n# Or the development version from GitHub:\n# install.packages(\"devtools\")\ninstall_github(\"RobWiederstein/retirementData\")\n```\n\n## Load Data\n\nOnce the development package is installed, it can be loaded via:\n\n```{r}\ndata(\"retirementData\")\n```\n\n\n## Common Questions\n\nThe data can provide some practical guidance as to candidate locations by identifying high growth counties, reasonable housing costs, air quality and life expectancy. For example, the code below might be used to answer where housing costs are reasonable:\n\n```{r example}\nlibrary(retirementData)\nretirementLoc |\u003e\n        dplyr::arrange(years_to_payoff) |\u003e\n        dplyr::select(state, county, pop_2020, years_to_payoff) |\u003e\n        dplyr::slice(1:5)\n```\n\n\u003c!--You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this. You could also use GitHub Actions to re-render `README.Rmd` every time you push. An example workflow can be found here: \u003chttps://github.com/r-lib/actions/tree/master/examples\u003e.\n\n\n# Displaying Code Blocks\n\nIn that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.\n--\u003e\n\n## Code of Conduct\n\nPlease note that the retirementData 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobwiederstein%2Fretirementdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobwiederstein%2Fretirementdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobwiederstein%2Fretirementdata/lists"}