{"id":18834958,"url":"https://github.com/nationalparkservice/dpchecker","last_synced_at":"2025-04-14T04:32:45.018Z","repository":{"id":62071514,"uuid":"533785223","full_name":"nationalparkservice/DPchecker","owner":"nationalparkservice","description":"DPchecker (Data Package checker) is a package with a series of functions for data package authors and reviewers to check for internal consistency among data/meta data and with the data package standards","archived":false,"fork":false,"pushed_at":"2025-03-25T17:25:49.000Z","size":6546,"stargazers_count":4,"open_issues_count":14,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-25T18:32:58.237Z","etag":null,"topics":["accessible","datastore","eml","findable","interoperable","national-park-service","nps","open","open-data","r","reusable","schema"],"latest_commit_sha":null,"homepage":"https://nationalparkservice.github.io/DPchecker/","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/nationalparkservice.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2022-09-07T13:46:16.000Z","updated_at":"2025-03-12T20:44:35.000Z","dependencies_parsed_at":"2024-01-16T21:46:08.482Z","dependency_job_id":"5f5260f8-e3bd-41ce-a18d-071440a503d7","html_url":"https://github.com/nationalparkservice/DPchecker","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nationalparkservice%2FDPchecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nationalparkservice%2FDPchecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nationalparkservice%2FDPchecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nationalparkservice%2FDPchecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nationalparkservice","download_url":"https://codeload.github.com/nationalparkservice/DPchecker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248822144,"owners_count":21167009,"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":["accessible","datastore","eml","findable","interoperable","national-park-service","nps","open","open-data","r","reusable","schema"],"created_at":"2024-11-08T02:14:19.929Z","updated_at":"2025-04-14T04:32:39.966Z","avatar_url":"https://github.com/nationalparkservice.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\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[![CodeFactor](https://www.codefactor.io/repository/github/roblbaker/dpchecker/badge)](https://www.codefactor.io/repository/github/roblbaker/dpchecker)\n\u003c!-- badges: end --\u003e\n\n\u003c!-- CMD-check badge...for once it's working...[![R-CMD-check](https://github.com/nationalparkservice/DPchecker/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/nationalparkservice/DPchecker/actions/workflows/R-CMD-check.yaml) --\u003e\n\n\n# DPchecker\n\n#### v0.3.3\n\nDPchecker (Data Package checker) is a package with a series of functions for NPS data package authors and reviewers to check for internal consistency among data/meta data and with the data package standards.\n\nCurrently, *only EML metadata and .csv data files* are supported. It is recommended that you store all data files and the single metadata file (filename must end in \"metadata.xml\") in the same directory.\n\nEach function runs an single check and imports data or metadata as necessary. If you prefer to run all checks at once, you can use `run_congruence_checks()`.\n\n## Installation\nYou can install the development version of DPchecker from\n[GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"nationalparkservice/DPchecker\")\n```\n\n## Examples:\nRun all checks at once:\n\n``` r\nlibrary(DPchecker)\n\n# Get the directory where example data is stored (alternately, replace this with the path to your data folder)\n\ndir \u003c- DPchecker_example(\"BICY_veg\")  # Use this to test things out with the included example data\n# dir \u003c- \"C:/Users/yourusername/Documents/my_data_package\"  # The path to your data package should look something like this\n\n# Run all checks and summarize results\n\nrun_congruence_checks(dir)\n\n# Alternately, if your data package is stored in the root of your R project folder, you don't need to pass any arguments\nrun_congruence_checks()\n```\n\nVerify that file names and column names in the metadata match the data:\n\n``` r\nlibrary(DPchecker)\n\ndir \u003c- DPchecker_example(\"BICY_veg\")  # Use this to test things out with the included example data\n# dir \u003c- \"C:/Users/yourusername/Documents/my_data_package\"  # The path to your data package should look something like this\n\ntest_file_name_match(dir)\ntest_fields_match(dir)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnationalparkservice%2Fdpchecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnationalparkservice%2Fdpchecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnationalparkservice%2Fdpchecker/lists"}