dataproofer-geo-suite
v2.1.0
Published
Suite of geographic and mapping related tests for dataproofer
Downloads
3
Readme
geo-suite
Suite of geographic and mapping related tests for Dataproofer
Table of Contents
Tests
voidLngLat.js
Verify that columns assumed to contain longitude or latitudes have non-zero values. These are values at 0º,0º.
Parameters
rows
Array an array of objects representing rows in the spreadsheetcolumnHeads
Array an array of strings for column names of the spreadsheet
Returns Object describing the result
validLngLat.js
Verify that columns assumed to contain longitude or latitudes have valid values. These are values above 180º or below -180º.
Parameters
rows
Array an array of objects representing rows in the spreadsheetcolumnHeads
Array an array of strings for column names of the spreadsheet
Returns Object describing the result
Parameters
rows
Array an array of objects representing rows in the spreadsheetcolumnHeads
Array an array of strings for column names of the spreadsheet
Returns Object result an object describing the result
Development
Getting Started
git clone [email protected]:dataproofer/geo-suite.git
cd geo-suite
npm install
Writing Tests
Building Docs
We use documentation.js, but have created a handy script for regenerating documentation.
npm run docs
Then open up and check your docs in DOCUMENTATION.md