{"id":24319409,"url":"https://github.com/btskinner/neh","last_synced_at":"2025-07-03T02:05:27.069Z","repository":{"id":195113746,"uuid":"692215776","full_name":"btskinner/neh","owner":"btskinner","description":"State by state differences in per capita NEH funding, 1967 - 2020","archived":false,"fork":false,"pushed_at":"2023-09-16T18:03:50.000Z","size":90438,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T20:43:52.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.btskinner.io/neh/","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/btskinner.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":"2023-09-15T20:37:02.000Z","updated_at":"2023-09-16T16:37:14.000Z","dependencies_parsed_at":"2025-01-17T15:37:13.034Z","dependency_job_id":"18fc4946-5e1c-4ead-a346-b7817bcf9499","html_url":"https://github.com/btskinner/neh","commit_stats":null,"previous_names":["btskinner/neh"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/btskinner/neh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Fneh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Fneh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Fneh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Fneh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btskinner","download_url":"https://codeload.github.com/btskinner/neh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Fneh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263245253,"owners_count":23436510,"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":"2025-01-17T15:33:03.376Z","updated_at":"2025-07-03T02:05:26.999Z","avatar_url":"https://github.com/btskinner.png","language":"R","readme":"# State by state differences in per capita NEH funding, 1967 - 2020\n\nThis repository contains the code to replicate the analyses found at [https://www.btskinner.io/neh/](https://www.btskinner.io/neh/).\n\n## To run\n\nClone this directory and either:\n\n1. Use the `makefile`\n\n``` shell\n\u003e cd neh\n\u003e make\n```\n2. Run R scripts one by one (need to be in `./scripts` as working directory):\n\n    1. `make_data.R`\n    1. `analyze.R`\n\nCleaned data will be placed in `./data/clean`. Figures will be placed in\n`./figures`.\n\n## Required packages\n\nThe following R packages are required:\n\n- [crosswalkr](https://www.btskinner.io/crosswalkr/)\n- [fredr](https://cran.r-project.org/web/packages/fredr/vignettes/fredr.html)\n- [tidyverse](https://www.tidyverse.org)\n- [zoo](https://zoo.r-forge.r-project.org)\n\nYou install the packages with the following prompt in R:\n\n``` r\ninstall.packages(c(\"crosswalkr\",\"fredr\",\"tidyverse\",\"zoo\"))\n```\n\n**NOTE:** You will need an API key to use the `fredr` packages. See instructions in the [`fredr` documentation](https://cran.r-project.org/web/packages/fredr/vignettes/fredr.html).\n\n## Required data\n\nThe NEH grant files for each decade from the 1960s to 2020s are required. The\n`make_data.R` script will download each file if they are not present in the\n`./data/raw` subdirectory. If you would rather download them manually, they can\nbe found at [https://apps.neh.gov/open/data/](https://apps.neh.gov/open/data/).\nYou need the following:\n\n- `NEH_Grants1960s.csv`\n- `NEH_Grants1970s.csv`\n- `NEH_Grants1980s.csv`\n- `NEH_Grants1990s.csv`\n- `NEH_Grants2000s.csv`\n- `NEH_Grants2010s.csv`\n- `NEH_Grants2020s.csv`\n\nPlace them in the `./data/raw` subdirectory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtskinner%2Fneh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtskinner%2Fneh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtskinner%2Fneh/lists"}