开发者社区> 镜像站> NPM> denmark-institution
denmark-institution
Get information about an institution given its institution number
Last updated 5 years ago by andreasmadsen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install denmark-institution 
SYNC missed versions from official npm registry.

#denmark-institution

Get information about an institution given its institution number

Installation

npm install denmark-institution

Documentation

On installation this module downloads a list of all institution numbers and fetches the details for all institutions.

const institutions = require('denmark-institution')

institutions is an object stream, with institution numbers and associated information.

See http://www.dst.dk/da/Statistik/dokumentation/Times/institutionsregister/instnr for what institution numbers are.

institutions().once('data', function (info) {
  info = {
    instnr: 671200,
    name: 'Pædagogisk-Psykologisk Rådgivning',
    leader: 'Helle Øster Enstrøm',
    address: 'Bremdal Torv 4',
    zipcode: 7600,
    city: 'Struer',
    phone: '96848555',
    email: 'boernefam@struer.dk',
    website: '',
    updated: new Date(1381225241000)
  };
});

Source

A list of all institution numbers is fetched from: http://www.dst.dk/da/Statistik/dokumentation/Times/institutionsregister/instnr

The details for each institution number is then fetched from the links at: http://statweb.uni-c.dk/InstRegV2/Fremfind.aspx?SearchType=AlphaInst

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 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (1)
Dependents (2)