Description Usage Arguments Details Value References Examples
This function takes event data, as those queried by
get_chron
or stored in a
epd.entity-class
object, and modifies them to fit into a new
table that complies with CLAM or BACON format.
1 2 3 4 5 6 7 | export_events(format, x, y)
## S4 method for signature 'character,data.frame,data.frame'
export_events(format, x, y)
## S4 method for signature 'character,epd.entity,missing'
export_events(format, x, y)
|
format |
character Character string indicating whether to export to "clam" or to "bacon" format. |
x |
data.frame Data frame or |
y |
data.frame Data frame with event data as those extracted from |
If x
is an epd.entity-class
or an
epd.entity.df-class
object, y
is not used.
Data frame with event data in CLAM or BACON format.
http://www.chrono.qub.ac.uk/blaauw/clam.html
http://chrono.qub.ac.uk/blaauw/bacon.html
1 2 3 4 5 6 7 8 9 10 | ## Not run:
epd.connection <- connect_to_epd(host = "localhost", database = "epd",
user = "epdr", password = "epdrpw")
epd.51 <- get_entity(51, epd.connection)
export_events("clam", epd.51)
export_events("clam", .get_synevent(51, epd.connection), .get_event(26, epd.connection))
export_events("bacon", epd.51)
export_events("bacon", .get_synevent(51, epd.connection), .get_event(26, epd.connection))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.