rtematres.api: Basic tematres server api

Description Usage Arguments Value Examples

Description

Basic tematres server api

Usage

1
  rtematres.api(task = "availableTasks", argument)

Arguments

task

The api task you like to execute. Use the the "availableTasks" to get an overview about the base api. It returns a data frame with descriptions and the arguments for the tasks.

argument

Is the argument for the api task. You find the information about the arguments when you call the task "availableTasks".

Value

The function returns either a dataframe for information or a list of keywords and ids

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Not run: 
    rtematres.api(task = "availableTasks")
    rtematres.api(task = "fetchVocabularyData")
    rtematres.api(task = "fetchTopTerms")
    rtematres.api(task = "search", argument = "measurement")
    rtematres.api(task = "letter", argument = "t")
    rtematres.api(task = "fetchTerm", argument = 12)
    rtematres.api(task = "fetchDown", argument = 4 )
    rtematres.api(task = "fetchUp", argument = 4)
    rtematres.api(task = "fetchRelated", argument = 4)
    rtematres.api(task = "fetchAlt", argument = 12 )
    rtematres.api(task = "fetchCode", argument = "tree")
    rtematres.api(task = "fetchNotes", argument = 5 )
    rtematres.api(task = "fetchDirectTerms", argument = 12)
    rtematres.api(task = "fetchURI", argument = 12)
    rtematres.api(task = "fetchTargetTerms", argument = 12 )
    rtematres.api(task = "fetchSourceTerm", argument = 12)
    rtematres.api(task = "fetchTerms", argument = '12,13' )
    rtematres.api(task = "fetchRelatedTerms", argument = '12,13' )
    rtematres.api(task = "fetchSimilar", argument = 12)
    rtematres.api(task = "fetchLast")
    rtematres.api.conversion.keyword_id(given = "Measurement")
    rtematres.api.conversion.keyword_id(given = 8)
 
## End(Not run)

rtematres documentation built on May 2, 2019, 11:12 a.m.