oc_event_metadata: Query Opencast for a specific events metadata

Description Usage Arguments Details Value Examples

View source: R/oc_event_metadata.R

Description

Returns the event's metadata of the specified type.

Usage

1
oc_event_metadata(eventId = "", type = "")

Arguments

eventId

The event id

type

The type of metadata to get

Details

This function expects the hostname, username and password to be set as environment variables.

Value

Returns the event's metadata of the specified type.

Examples

1
2
3
4
5
6
7
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

events <- oc_list_events()

oc_event_metadata(events$content$identifier[1])

opencastR documentation built on March 19, 2020, 5:12 p.m.