kth_profile: Retrieve data for KTH Profiles

View source: R/profile.R

kth_profileR Documentation

Retrieve data for KTH Profiles

Description

See details at https://api.kth.se/api/profile/swagger/index.html

Usage

kth_profile(
  kthid = NULL,
  orcid = NULL,
  socialid = NULL,
  username = NULL,
  config = NULL
)

Arguments

kthid

the kthId for the user profile

orcid

the ORC identifier for the user profile

socialid

the social id for the user profile

username

the accountname for the user profile

config

a configuration setting for the KTH APIs including base URL etc, by default from config()

Value

results records returned from the search

Examples

## Not run: 
kth_profile(username = "agnel")
kth_profile(username = "markussk")
tryCatch(kth_profile(username = "hoyce"), error = function(e) e, warning("Does not exist?"))

## End(Not run)

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