{"id":14066569,"url":"https://github.com/data-cleaning/validatesuggest","last_synced_at":"2025-10-22T03:17:07.500Z","repository":{"id":66207187,"uuid":"384078541","full_name":"data-cleaning/validatesuggest","owner":"data-cleaning","description":"Generate validation rules from data","archived":false,"fork":false,"pushed_at":"2023-10-06T10:29:45.000Z","size":378,"stargazers_count":5,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-30T22:08:26.771Z","etag":null,"topics":["data-cleaning","r","validation"],"latest_commit_sha":null,"homepage":"https://data-cleaning.github.io/validatesuggest","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/data-cleaning.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-07-08T09:55:16.000Z","updated_at":"2023-04-29T15:45:36.000Z","dependencies_parsed_at":"2023-07-04T13:51:35.021Z","dependency_job_id":null,"html_url":"https://github.com/data-cleaning/validatesuggest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/data-cleaning/validatesuggest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-cleaning%2Fvalidatesuggest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-cleaning%2Fvalidatesuggest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-cleaning%2Fvalidatesuggest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-cleaning%2Fvalidatesuggest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/data-cleaning","download_url":"https://codeload.github.com/data-cleaning/validatesuggest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-cleaning%2Fvalidatesuggest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280371995,"owners_count":26319529,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data-cleaning","r","validation"],"created_at":"2024-08-13T07:05:10.015Z","updated_at":"2025-10-22T03:17:07.470Z","avatar_url":"https://github.com/data-cleaning.png","language":"R","funding_links":[],"categories":["R"],"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# validatesuggest\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/validatesuggest)](https://CRAN.R-project.org/package=validatesuggest)\n[![R-CMD-check](https://github.com/data-cleaning/validatesuggest/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/data-cleaning/validatesuggest/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\nThe goal of validatesuggest is to generate suggestions for [validation](https://CRAN.R-project.org/package=validate) rules from a supplied \ndataset. These can be used as a starting point for a rule set and are to be\nadjusted by domain experts.\n\n## Installation\n\nAnd the development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"data-cleaning/validatesuggest\")\n```\n## Example\n\n```{r example}\nlibrary(validate)\nlibrary(validatesuggest)\n\ndata(retailers, package=\"validate\")\ndata(SBS2000, package=\"validate\")\n\n# does all\n#suggest_rules(retailers)\n\nsuggest_pos_check(retailers)\n\nsuggest_range_check(retailers, min=TRUE, max=TRUE)\n\nsuggest_na_check(retailers)\n\nsuggest_unique_check(SBS2000)\n\nsuggest_type_check(retailers)\n\nsuggest_ratio_check(retailers)\n\nwrite_cond_rule(car_owner)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdata-cleaning%2Fvalidatesuggest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdata-cleaning%2Fvalidatesuggest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdata-cleaning%2Fvalidatesuggest/lists"}