Learn R Programming

Overview

opencastR is a R package that is designed to read information from the external API of an Opencast server.

Status

At the moment only the GET functions are implemented.

Installation

The easiest way to get opencastR is to install it using the devtools:

install.packages("devtools")
devtools::install_github("ebbertd/opencastR")

Usage

Every function requires the hostname, username and password to be set as environment variables. For example:

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

oc_api()

Copy Link

Version

Install

install.packages('opencastR')

Monthly Downloads

15

Version

0.1.3

License

Apache License (>= 2.0)

Maintainer

Daniel Ebbert

Last Published

March 19th, 2020

Functions in opencastR (0.1.3)

oc_event_metadata

Query Opencast for a specific events metadata
oc_event_acl

Query Opencast for a specific events acl
oc_api

Query Opencast base api
oc_agent

Query Opencast for a single capture agent
oc_group

Query Opencast for a specific group
oc_event_publication

Query Opencast for a specific events single publication
oc_event

Query Opencast for a specific event
oc_event_scheduling

Query Opencast for a specific events scheduling
oc_hostname

Opencast hostname
oc_event_list_publications

Query Opencast for a specific events publications
oc_info_organization

Query Opencast current organization
oc_info_organization_properties

Query Opencast current organization's properties
oc_info_me

Query Opencast current user
oc_list_groups

Query Opencast for a list of groups
oc_info_me_roles

Query Opencast current user's role.
oc_username

Opencast username
print.oc_event_publication

Print result of oc_event_publication()
print.oc_event_scheduling

Print result of oc_event_scheduling()
print.oc_list_events

Print result of oc_list_events()
oc_series_properties

Query Opencast for a specific series properties
print.oc_agent

Print result of oc_agent()
oc_list_workflow_definitions

Query Opencast for the list of workflow definitions
oc_list_workflow_instances

Query Opencast for the list of workflow instances
print.oc_list_groups

Print result of oc_list_groups()
oc_password

Opencast password
print.oc_series_properties

Print result of oc_series_properties()
oc_series_acl

Query Opencast for a specific series acl
print.oc_api

Print result of oc_api()
oc_series_metadata

Query Opencast for a specific series metadata
oc_list_agents

Query Opencast list of capture agent
print.oc_series

Print result of oc_series()
oc_list_events

Query Opencast for a list of events
print.oc_list_workflow_definitions

Print result of oc_list_workflow_definitions()
print.oc_list_series

Print result of oc_list_series()
print.oc_event_list_publications

Print result of oc_event_list_publications()
print.oc_list_workflow_instances

Print result of oc_list_workflow_instances()
oc_package_query

opencastR query function
print.oc_version

Print result of oc_version()
print.oc_version_default

Print result of oc_version_default()
print.oc_workflow_definition

Print result of oc_workflow_definition()
print.oc_event

Print result of oc_event()
oc_package_useragent

opencastR user agent
print.oc_series_acl

Print result of oc_series_acl()
oc_version

Query Opencast api versions
oc_series

Query Opencast for a specific series
oc_workflow_definition

Query Opencast for a specific workflow definition
print.oc_series_metadata

Print result of oc_series_metadata()
oc_list_series

Query Opencast for a list of series
oc_version_default

Query Opencast default api versions
print.oc_event_acl

Print result of oc_event_acl()
oc_workflow_instance

Query Opencast for a specific workflow instance
print.oc_event_metadata

Print result of oc_event_metadata()
print.oc_info_organization

Print result of oc_info_organization()
print.oc_workflow_instance

Print result of oc_workflow_instance()
print.oc_info_me_roles

Print result of oc_info_me_roles()
print.oc_info_organization_properties

Print result of oc_info_organization_properties()
print.oc_list_agents

Print result of oc_list_agents()
print.oc_group

Print result of oc_group()
print.oc_info_me

Print result of oc_info_me()