ical icon indicating copy to clipboard operation
ical copied to clipboard

Dealing with recurring events?

Open giabaio opened this issue 4 years ago • 6 comments

Hi all, This may not be entirely relevant. But is there a way of importing the ics calendar (say, from a URL) and then manipulate it in R while dealing with recurring events? Currently, I am able to parse my work calendar (hosted under Outlook365 at my institution). But recurring events are only seen once (the first time they are set up) and not as a series.

I understand that the field RRULE specifies that an entry should be repeated, but can this be processed with ical to duplicate the recurring event (say every week, or simply on any occurrence)? Thanks Gianluca

giabaio avatar Jul 01 '20 12:07 giabaio

@giabaio : I just pushed an update to the package - could you have look (remotes::install_github("petermeissner/ical")) if this works for you?

This will not expand the series entry into multiple lines but provide the rrule fields to do so yourself.

petermeissner avatar Sep 08 '20 11:09 petermeissner

Thank you! Sounds very promising --- appreciate the work. I'll check out and report back! Gianluca

On Tue, 8 Sep 2020 at 12:35, Peter Meissner [email protected] wrote:

@giabaio https://github.com/giabaio : I just pushed an update to the package - could you have look ( remotes::install_github("petermeissner/ical")) if this works for you?

This will not expand the series entry into multiple lines but provide the rrule fields to do so yourself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/petermeissner/ical/issues/9#issuecomment-688809728, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCRVSLL55NFGP3JFX3LM43SEYJI7ANCNFSM4ONLL5GA .

--

Gianluca Baio

Professor of Statistics & Health Economics Department of Statistical Science University College London 1-19 Torrington Place, London WC1E 6BT, UK Telephone +44(0)20 7679 1248 (internal: 41248) Fax +44 (0)20 7383 4703 Website: http://www.homepages.ucl.ac.uk/~ucakgba http://www.homepages.ucl.ac.uk/~ucakgba/ Blog: http:www.statistica.it/gianluca/blog

https://twitter.com/gianlubaio https://www.linkedin.com/in/gianluca-baio-b893879/ https://github.com/giabaio https://scholar.google.co.uk/citations?user=ro0QvGsAAAAJ&hl=en https://www.researchgate.net/profile/Gianluca_Baio https://orcid.org/0000-0003-4314-2570

DUE TO THE COVID-19 EMERGENCY, I WILL PROBABLY HAVE ERRATIC WORKING HOURS IN THE NEXT FEW DAYS/WEEKS/MONTHS/YEARS. I MAY BE SLOWER IN REPLYING TO EMAILS OR SEND THEM AT UNGODLY HOURS. PLEASE BEAR WITH ME.

giabaio avatar Sep 08 '20 11:09 giabaio

Thank @petermeissner. This is very helpful. I have to say however that being able to manage the rrule is a bit outside of the realm of things I know how to do... ;-) Would you be able to point me in the right direction (of course, I don't mean "write the function for me, please", but something like "the rrule field needs to be manipulated like...")? Thanks again!

giabaio avatar Oct 06 '20 13:10 giabaio

Glad it helps.

I think this interactive tool might be helpful, for a start: https://jakubroztocil.github.io/rrule/

The definition of the standard might also help (well, the definition is a bit cryptic but the examples might be instructive): https://www.kanzaki.com/docs/ical/rrule.html

Gianluca Baio [email protected] schrieb am Di., 6. Okt. 2020, 15:02:

Thank @petermeissner https://github.com/petermeissner. This is very helpful. I have to say however that being able to manage the rrule is a bit outside of the realm of things I know how to do... ;-) Would you be able to point me in the right direction (of course, I don't mean "write the function for me, please", but something like "the rrule field needs to be manipulated like...")? Thanks again!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/petermeissner/ical/issues/9#issuecomment-704252977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHFJA7LFNPRDOSNSN2N4G3SJMINLANCNFSM4ONLL5GA .

petermeissner avatar Oct 07 '20 06:10 petermeissner

Thank you very much! This is very helpful. I'll do my bit of reading/research and will be back soon! :-)

giabaio avatar Oct 07 '20 11:10 giabaio

RRULE is needed, I also ran into similar issue, working on it will report back

yinshiyi avatar Jan 06 '23 01:01 yinshiyi