classify_swepub: Classify into subject categories using SwePub Web API

View source: R/classify.R

classify_swepubR Documentation

Classify into subject categories using SwePub Web API

Description

Use the title, abstract and keywords to get a suggestion for subject categories to use from the Swedish standard set of 3 or 5 digit subject categories.

Usage

classify_swepub(title, abstract, keywords, level = 3)

Arguments

title

the title of the paper

abstract

the abstract

keywords

keywords used

level

either 3 or 5, default: 3

Details

Calls the API at https://swepub-qa.kb.se/api/v1/classify

Examples

## Not run: 
classify_swepub(
   title = "Magnetic resonance",
   abstract = "This paper deals with magnetic resonance",
   keywords = "magnetic radiotherapy nuclear",
   level = 5
)

## End(Not run)

KTH-Library/kthapi documentation built on June 27, 2023, 9:27 p.m.