Skip to content

denmark-io/denmark-institution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#denmark-institution Build Status

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

About

Get information about an institution given its institution number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published