| add_presentation {semnar} | R Documentation |
Create or add to a semnar object
Description
Create or add to a semnar object
Usage
add_presentation(
object,
presenter = NA,
presenter_name = NA,
presenter_midname = NA,
presenter_surname = NA,
presenter_affiliation = NA,
presenter_email = NA,
presenter_link = NA,
presenter_address = NA,
country = NA,
city = NA,
state = NA,
lon = NA,
lat = NA,
event = NA,
title = NA,
abstract = NA,
type = NA,
link = NA,
materials = NA,
institution = NA,
department = NA,
school = NA,
venue = NA,
address = NA,
postcode = NA,
room = NA,
start = NA,
end = NA,
year = NA,
month = NA,
day = NA,
start_hour = NA,
end_hour = start_hour,
start_min = 0L,
end_min = start_min,
start_sec = 0L,
end_sec = 0L,
tag = NA,
tz = "UTC"
)
Arguments
object |
either an object an object of class |
presenter |
either |
presenter_name |
name of the presenter of the presentation;
character string or |
presenter_midname |
middle name of the presenter of the
presentation; character string or |
presenter_surname |
surname of the presenter of the
presentation; character string or |
presenter_affiliation |
affiliation of the presenter of the
presentation; character string or |
presenter_email |
email of the presenter of the presentation;
character string or |
presenter_link |
link to the webpage of the presenter of the
presentation; character string or |
presenter_address |
address of the presenter; character string
or |
country |
country where the presentation took place; character
string or |
city |
city where the presentation took place; character
string or |
state |
state where the presentation took place; character
string or |
lon |
longitude of the venue of the presentation; numeric or
|
lat |
latitude of the venue of the presentation; numeric or
|
event |
either |
title |
title of the presentation; character string or |
abstract |
abstract of the presentation; character string or
|
type |
the type of the talk. Available options are |
link |
link to the event or seminar/talk page; character
string or |
materials |
link to the slides or materials from the
seminar/talk; character string or |
institution |
institution at which the event or seminar/talk
page took/will take space; character string or |
department |
department at which the event or seminar/talk
page took/will take space; character string or |
school |
school at which the event or seminar/talk page
took/will take space; character string or |
venue |
venue at which the event or seminar/talk page
took/will take space; character string or |
address |
address where the seminar/talk took place; character
string or |
postcode |
post code where the seminar/talk took place;
character string or |
room |
room at which the event or seminar/talk page took/will
take space; character string or |
start |
|
end |
|
year |
year of the presentation; numeric, e.g. |
month |
month of the presentation; numeric (1-12) or |
day |
day of the presentation; numeric (1-31) or |
start_hour |
start hour of the presentation; numeric (1-24) or
|
end_hour |
end hour of the presentation; numeric (1-24) or
|
start_min |
start minute of the presentation; numeric (0-60)
or |
end_min |
end minute of the presentation; numeric (0-60) or
|
start_sec |
start second of the presentation; numeric (0-60)
or |
end_sec |
end second of the presentation; numeric (0-60) or
|
tag |
a tag for the presentation; character string or |
tz |
timezone. Default is |
Details
If object is not specified then add_presentation() will create
an semnar object based on the supplied inputs, otherwise it
will add the details of the new presentation on object.
If the start date and end date are specified (either through
start and end or through year, month, day) and no
information is provided or can be inferred about start/end times,
then a time of 0 hours, 0 minutes and 0 seconds is assumed.
An error is thrown if the start date/time is after the end date/time.
Value
A structured data.frame() that also inherits from class semnar, including the supplied presentation details.
See Also
presenter() plot.semnar() shorten_url() guess_address()
Examples
# Two of my past talks
out <- add_presentation(country = "England", city = "Coventry",
lon = -1.560843, lat = 52.384019,
event = "Young Researchers' Meeting",
title = "A workflow that most probably isn't yours",
link = "https://warwick.ac.uk/fac/sci/statistics/news/yrm/",
materials = "https://ikosmidis.com/files/ikosmidis_YRM_2019.pdf",
type = "presentation", institution = "University of Warwick",
department = "Department of Statistics",
venue = "Mathematical Sciences Building", room = "M1.02",
year = 2019, month = 5, day = 28,
start_hour = 16, start_min = 00,
end_hour = 17, end_min = 00) |>
add_presentation(country = "United States", city = "Stanford",
lon = -122.165330, lat = 37.429464,
event = "useR! 2016",
title = "brglm: Reduced-bias inference in generalized linear models",
link = "https://user2016.r-project.org//files/abs-book.pdf",
materials = "https://bit.ly/2KCBbKg",
type = "presentation", institution = NA, department = NA,
venue = "Stanford Institute for Economic Policy Research",
room = "Siepr 120",
year = 2016, month = 06, day = 29,
start_hour = 14, start_min = 15,
end_hour = 14, end_min = 35)
out