Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dataproofer suites to package.json #151

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Conversation

ejfox
Copy link
Contributor

@ejfox ejfox commented Jul 12, 2019

I think this closes #146

I was having some issues developing on the CLI dataproofer interface because when I followed the cloning-from-scratch instructions I was getting an error about not finding the dataproofer-info-suite. I added this, and the other suites it errored on until I was able to run the script.

Before

~/git/Dataproofer/src on  master 20:48:58
> node index.js
internal/modules/cjs/loader.js:573
    throw err;
    ^

Error: Cannot find module 'dataproofer-info-suite'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
    at Function.Module._load (internal/modules/cjs/loader.js:497:25)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/ejf/git/Dataproofer/src/index.js:25:5)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)

After

~/git/Dataproofer/src on  dataproofer-dependencies 20:47:25
> node index.js
Usage: index <file>

A proofreader for your data

Options:
  -V, --version              output the version number
  -o, --out <file>           file to output results. default stdout
  -c, --core                 run tests from the core suite
  -i, --info                 run tests from the info suite
  -s, --stats                run tests from the statistical suite
  -g, --geo                  run tests from the geographic suite
  -t, --tests <list>         comma-separated list to use
  -j, --json                 output JSON of test results
  -J, --json-pretty          output an indented JSON of test results
  -S, --summary              output overall test results, excluding pass/fail results
  -v, --verbose              include descriptions about each column
  -x, --exclude              exclude tests that passed
  -m, --sampleMin <int>      minimum number of rows to sample and test. default 1000
  -M, --sampleMax <int>      maximum number of rows to sample and test. default 10000
  -r, --sampleRatio <float>  ratio of rows to sample from total rows. default 0.25 (i.e. sample 25% of the total rows)
  -h, --help                 output usage information
  Examples:

 $ dataproofer my_data.csv

@ejfox ejfox merged commit 4c02296 into master Jul 16, 2019
@ejfox ejfox deleted the dataproofer-dependencies branch July 16, 2019 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Cannot find module 'dataproofer-info-suite'
1 participant