canada-boundaries
v1.0.3
Published
Downloads and converts Statistics Canada census data representing all boundaries in Canada
Downloads
4
Maintainers
Readme
canada-boundaries
Downloads and converts Canada Statistics data representing all designated place boundaries in Canada.
You define the processing logic, so you can put it into any DB you like.
Install
npm install canada-boundaries
Example
import census from 'canada-boundaries'
census({
// this function is called every time a record is parsed
onBoundary: (doc, cb) => {
cb() // make sure to call the cb
},
// this function is called when all records are parsed and processed
onFinish: (err) => {
}
})