event: Create a 'semnar_event' object with event details

View source: R/event.R

eventR Documentation

Create a semnar_event object with event details

Description

Create a semnar_event object with event details

Usage

event(
  event = NA,
  country = NA,
  city = NA,
  state = NA,
  lon = NA,
  lat = NA,
  link = NA,
  institution = NA,
  department = NA,
  school = NA,
  venue = NA,
  address = NA,
  postcode = NA
)

Arguments

event

either NA (default) or a character string with the name of the event at which the presentation is/was given or an object of class semnar_event. In the latter case, all input to country, city, state, lon, lat, link, institution, department, school, venue, address, postcode is ignored and populated according to the supplied object.

country

country where the presentation took place; character string or NA (default).

city

city where the presentation took place; character string or NA (default).

state

state where the presentation took place; character string or NA (default).

lon

longitude of the venue of the presentation; numeric or NA (default).

lat

latitude of the venue of the presentation; numeric or NA (default).

link

link to the event or seminar/talk page; character string or NA (default).

institution

institution at which the event or seminar/talk page took/will take space; character string or NA (default).

department

department at which the event or seminar/talk page took/will take space; character string or NA (default).

school

school at which the event or seminar/talk page took/will take space; character string or NA (default).

venue

venue at which the event or seminar/talk page took/will take space; character string or NA (default).

address

address where the seminar/talk took place; character string or NA (default).

postcode

post code where the seminar/talk took place; character string or NA (default).

Value

A structured data.frame() that also inherits from class semnar_event, including the supplied event details.

See Also

get_event() set_event() presenter() get_presenter() set_presenter()

Examples

# A past talk of mine
IK_warwick <- presenter(name = "Ioannis",
                       surname = "Kosmidis",
                       affiliation = "University of Warwick",
                       link = "https://www.ikosmidis.com")

YRM <- event(event = "Young Researchers' Meeting",
             country = "England",
             city = "Coventry",
             state = "NA",
             lon = -1.560843, lat = 52.384019,
             link = "https://warwick.ac.uk/fac/sci/statistics/news/yrm/",
             institution = "University of Warwick",
             department = "Department of Statistics",
             school = NA,
             venue = "Mathemtical Sciences Building",
             address = NA,
             postcode = NA)

out <- add_presentation(event = YRM,
                        presenter = IK_warwick,
                        title = "A workflow that most probably isn't yours",
                        type = "presentation",
                        start = "20190528 16:00", end = "20190528 17:00")

semnar documentation built on Nov. 3, 2022, 5:06 p.m.