开发者社区> 镜像站> NPM> denmark-parent-income
denmark-parent-income
Get parent income mean and median given a schools institution number
Last updated 5 years ago by andreasmadsen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install denmark-parent-income 
SYNC missed versions from official npm registry.

#denmark-parent-income Build Status

Get parent income mean and median given a schools institution number

Installation

npm install denmark-parent-income

Documentation

On installation this module a CSV file containing data for parents income in 2012 and 2011. This is then parsed and stored as a JSON file.

const schools = require('denmark-parent-income')

schools is a Map object, with institution numbers as keys and associated information as values.

See http://statweb.uni-c.dk/InstRegV2/Fremfind.aspx?SearchType=AlphaInst for what institution numbers are.

schools().once('data', function (item) {
  // All money related values are in DKK and the brutto income
  item = {
    "instnr": 101001,
    "2012_mean": 566930,
    "2012_median": 499169,
    "2011_mean": 580395,
    "children": 465
  }
});

Source

The source is this csv file:

https://www.google.com/fusiontables/DataSource?docid=1aDTKm1r0ngzu_Dl3djfNsDvXNSjMTbsRp9AEy4k#rows:id=1

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

2 Versions

  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (2)