open-index/open-npm huggingface dataset:
npm package: @jonny/uzh-studies-parser
Description: Parses UZH studies. "BSc UZH in Informatik (RO08)" => "bachelor"
Author: Jonny Burger
Latest version: 2.0.0

# uzh-studies-parser [![Build Status](https://travis-ci.org/JonnyBurger/uzh-studies-parser.svg?branch=master)](https://travis-ci.org/JonnyBurger/uzh-studies-parser)

> Find the type of degree from a UZH (University of Zurich) degree name.

## Install
```
npm install --save @jonny/uzh-studies-parser
```

## Usage
```js
const StudyParser = require('@jonny/uzh-studies-parser');

StudyParser.getType('BA UZH in Religionswissenschaft');
//=> 'bachelor'
StudyParser.getType('MLaw UZH (RVO13)');
//=> 'master'
StudyParser.getHumanReadable('MLaw UZH (RVO13)');
//=> 'Master'
StudyParser.getHumanReadable('MLaw UZH (RVO13)');
//=> 'of Law (RVO2013)'
```

## API

### getType(input)

#### input

Type: `string`

#### output

One of these: `"bachelor"`, `"master"`, `"doctorate"`, `"licenciate"`, `"joint-degree"`, `"notary-exam-preparation"`, `null`

### getHumanReadable(input)

#### input

type: `string`

#### output

Same as `getType`, but in a human readable format.

### getDirection(input)

#### input

type: `string`

#### output

Description of degree. Does not include type of degree. Should be displayed alongside the result `getType()`.


## Reference

This module was created by looking at [this list](https://drive.google.com/file/d/0B-a9UkzeVkYHQjEtVDdLcVZoQzg/view?usp=sharing) of UZH degrees that I found on Google.

## License

MIT © [Jonny Burger](http://jonny.io)