diff --git a/code-r/timetable-from-ics.R b/code-r/timetable-from-ics.R new file mode 100644 index 0000000..87cec2d --- /dev/null +++ b/code-r/timetable-from-ics.R @@ -0,0 +1,16 @@ + +library(tidyverse) +ics = calendar::ic_read("tds-calendar-2022.ics") +names(ics) +names(ics) = gsub(pattern = ";TZID=GMT Standard Time", replacement = "", x = names(ics)) +head(ics$DTSTART) +calendar::ic_date(.Last.value) + +tt_csv = ics %>% + mutate_at(vars(matches("DT")), calendar::ic_date) %>% + mutate(date = as.Date(DTSTART), duration = DTEND - DTSTART) %>% + select(SUMMARY, DESCRIPTION, date, duration) +names(tt_csv) = tolower(names(tt_csv)) + +readr::write_csv(tt_csv, "timetable.csv") +readLines("timetable.ics") diff --git a/tds-calendar-2022.ics b/tds-calendar-2022.ics new file mode 100644 index 0000000..ceccde6 --- /dev/null +++ b/tds-calendar-2022.ics @@ -0,0 +1,136 @@ +BEGIN:VCALENDAR +METHOD:PUBLISH +PRODID:Microsoft Exchange Server 2010 +VERSION:2.0 +X-WR-CALNAME:TDS2022 +BEGIN:VTIMEZONE +TZID:GMT Standard Time +BEGIN:STANDARD +DTSTART:16010101T020000 +TZOFFSETFROM:+0100 +TZOFFSETTO:+0000 +RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10 +END:STANDARD +BEGIN:DAYLIGHT +DTSTART:16010101T010000 +TZOFFSETFROM:+0000 +TZOFFSETTO:+0100 +RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3 +END:DAYLIGHT +END:VTIMEZONE +BEGIN:VEVENT +DESCRIPTION:\n_____________________________________________________________ + ___________________\nMicrosoft Teams meeting\nJoin on your computer or mob + ile app\nClick here to join the meeting\nLearn more + | Meeting options\n_______________________________________________________________________ + _________\n +UID:040000008200E00074C5B7101A82E008000000006F23FF3BA0EDD701000000000000000 + 0100000008E8D11F5E73B65428850CC712926B101 +SUMMARY:TDS Lecture 1 +DTSTART;TZID=GMT Standard Time:20220124T110000 +DTEND;TZID=GMT Standard Time:20220124T120000 +CLASS:PUBLIC +PRIORITY:5 +DTSTAMP:20220118T150313Z +TRANSP:OPAQUE +STATUS:CONFIRMED +SEQUENCE:0 +LOCATION: +X-MICROSOFT-CDO-APPT-SEQUENCE:0 +X-MICROSOFT-CDO-BUSYSTATUS:BUSY +X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY +X-MICROSOFT-CDO-ALLDAYEVENT:FALSE +X-MICROSOFT-CDO-IMPORTANCE:1 +X-MICROSOFT-CDO-INSTTYPE:0 +X-MICROSOFT-DONOTFORWARDMEETING:FALSE +X-MICROSOFT-DISALLOW-COUNTER:FALSE +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:\n +RRULE:FREQ=WEEKLY;UNTIL=20220224T090000Z;INTERVAL=1;BYDAY=TH;WKST=SU +UID:040000008200E00074C5B7101A82E008000000000DB677A29FEDD701000000000000000 + 0100000008BD5FC7FF671954F9AF99DBDD0AAE286 +SUMMARY:TDS Practical +DTSTART;TZID=GMT Standard Time:20220203T090000 +DTEND;TZID=GMT Standard Time:20220203T120000 +CLASS:PUBLIC +PRIORITY:5 +DTSTAMP:20220118T150313Z +TRANSP:OPAQUE +STATUS:CONFIRMED +SEQUENCE:0 +LOCATION: +X-MICROSOFT-CDO-APPT-SEQUENCE:0 +X-MICROSOFT-CDO-BUSYSTATUS:BUSY +X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY +X-MICROSOFT-CDO-ALLDAYEVENT:FALSE +X-MICROSOFT-CDO-IMPORTANCE:1 +X-MICROSOFT-CDO-INSTTYPE:1 +X-MICROSOFT-DONOTFORWARDMEETING:FALSE +X-MICROSOFT-DISALLOW-COUNTER:FALSE +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:\n +UID:040000008200E00074C5B7101A82E00800000000B0E1F114A0EDD701000000000000000 + 0100000001D243A41BFDF9B4CAEB23B307A17418B +SUMMARY:TDS seminar +DTSTART;TZID=GMT Standard Time:20220216T130000 +DTEND;TZID=GMT Standard Time:20220216T160000 +CLASS:PUBLIC +PRIORITY:5 +DTSTAMP:20220118T150313Z +TRANSP:OPAQUE +STATUS:CONFIRMED +SEQUENCE:0 +LOCATION: +X-MICROSOFT-CDO-APPT-SEQUENCE:0 +X-MICROSOFT-CDO-BUSYSTATUS:BUSY +X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY +X-MICROSOFT-CDO-ALLDAYEVENT:FALSE +X-MICROSOFT-CDO-IMPORTANCE:1 +X-MICROSOFT-CDO-INSTTYPE:0 +X-MICROSOFT-DONOTFORWARDMEETING:FALSE +X-MICROSOFT-DISALLOW-COUNTER:FALSE +END:VEVENT +BEGIN:VEVENT +DESCRIPTION:Getting these in the calendar. Details soon.\n\n_______________ + _________________________________________________________________\nMicroso + ft Teams meeting\nJoin on your computer or mobile app\nClick here to join + the meeting\nLearn more | Meeting options\n_________________________ + _______________________________________________________\n +UID:040000008200E00074C5B7101A82E00800000000FDF0AFE59FEDD701000000000000000 + 01000000057A574E3517EC34497A87E6FF56A41BF +SUMMARY:TDS Practical +DTSTART;TZID=GMT Standard Time:20220331T090000 +DTEND;TZID=GMT Standard Time:20220331T120000 +CLASS:PUBLIC +PRIORITY:5 +DTSTAMP:20220118T150313Z +TRANSP:OPAQUE +STATUS:CONFIRMED +SEQUENCE:0 +LOCATION: +X-MICROSOFT-CDO-APPT-SEQUENCE:0 +X-MICROSOFT-CDO-BUSYSTATUS:BUSY +X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY +X-MICROSOFT-CDO-ALLDAYEVENT:FALSE +X-MICROSOFT-CDO-IMPORTANCE:1 +X-MICROSOFT-CDO-INSTTYPE:0 +X-MICROSOFT-DONOTFORWARDMEETING:FALSE +X-MICROSOFT-DISALLOW-COUNTER:FALSE +END:VEVENT +END:VCALENDAR diff --git a/tds.bib b/tds.bib index 6b4f515..7ccfc65 100644 --- a/tds.bib +++ b/tds.bib @@ -13,7 +13,7 @@ @article{banister_sustainable_2008 } @article{beddoe_overcoming_2009, - title = {Overcoming Systemic Roadblocks to Sustainability: The Evolutionary Redesign of Worldviews, Institutions, and Technologies}, + title = {Overcoming Systemic Roadblocks to Sustainability: {{The}} Evolutionary Redesign of Worldviews, Institutions, and Technologies}, author = {Beddoe, Rachael and Costanza, Robert and Farley, Joshua and Garza, Eric and Kent, Jennifer and Kubiszewski, Ida and Martinez, Luz and McCowen, Tracy and Murphy, Kathleen and Myers, Norman and Ogden, Zach and Stapleton, Kevin and Woodward, John}, year = {2009}, journal = {Proceedings of the National Academy of Sciences}, @@ -25,7 +25,7 @@ @article{beddoe_overcoming_2009 } @article{boeing_osmnx_2017, - title = {{{OSMnx}}: New {{Methods}} for {{Acquiring}}, {{Constructing}}, {{Analyzing}}, and {{Visualizing Complex Street Networks}}}, + title = {{{OSMnx}}: {{New Methods}} for {{Acquiring}}, {{Constructing}}, {{Analyzing}}, and {{Visualizing Complex Street Networks}}}, shorttitle = {{{OSMnx}}}, author = {Boeing, Geoff}, year = {2017}, @@ -53,7 +53,7 @@ @inproceedings{fernandez_natural_2016 } @book{fox_data_2018, - title = {Data {{Science}} for {{Transport}}: A {{Self}}-{{Study Guide}} with {{Computer Exercises}}}, + title = {Data {{Science}} for {{Transport}}: {{A Self-Study Guide}} with {{Computer Exercises}}}, shorttitle = {Data {{Science}} for {{Transport}}}, author = {Fox, Charles}, year = {2018}, @@ -66,7 +66,7 @@ @book{fox_data_2018 } @book{gillespie_efficient_2016, - title = {Efficient {{R Programming}}: A {{Practical Guide}} to {{Smarter Programming}}}, + title = {Efficient {{R Programming}}: {{A Practical Guide}} to {{Smarter Programming}}}, author = {Gillespie, Colin and Lovelace, Robin}, year = {2016}, publisher = {{O'Reilly Media}}, @@ -75,7 +75,7 @@ @book{gillespie_efficient_2016 } @article{goodman_scenarios_2019, - title = {Scenarios of Cycling to School in {{England}}, and Associated Health and Carbon Impacts: Application of the `{{Propensity}} to {{Cycle Tool}}'}, + title = {Scenarios of Cycling to School in {{England}}, and Associated Health and Carbon Impacts: {{Application}} of the `{{Propensity}} to {{Cycle Tool}}'}, shorttitle = {Scenarios of Cycling to School in {{England}}, and Associated Health and Carbon Impacts}, author = {Goodman, Anna and Rojas, Ilan Fridman and Woodcock, James and Aldred, Rachel and Berkoff, Nikolai and Morgan, Malcolm and Abbas, Ali and Lovelace, Robin}, year = {2019}, @@ -89,7 +89,7 @@ @article{goodman_scenarios_2019 } @article{graells-garrido_adoptiondriven_2020, - title = {Adoption-{{Driven Data Science}} for {{Transportation Planning}}: Methodology, {{Case Study}}, and {{Lessons Learned}}}, + title = {Adoption-{{Driven Data Science}} for {{Transportation Planning}}: {{Methodology}}, {{Case Study}}, and {{Lessons Learned}}}, shorttitle = {Adoption-{{Driven Data Science}} for {{Transportation Planning}}}, author = {{Graells-Garrido}, Eduardo and {Pe{\~n}a-Araya}, Vanessa and Bravo, Loreto}, year = {2020}, @@ -116,7 +116,7 @@ @book{grolemund_r_2016 } @article{gschwender_using_2016, - title = {Using {{Smart Card}} and {{GPS Data}} for {{Policy}} and {{Planning}}: The {{Case}} of {{Transantiago}}}, + title = {Using {{Smart Card}} and {{GPS Data}} for {{Policy}} and {{Planning}}: {{The Case}} of {{Transantiago}}}, shorttitle = {Using {{Smart Card}} and {{GPS Data}} for {{Policy}} and {{Planning}}}, author = {Gschwender, Antonio and Munizaga, Marcela and Simonetti, Carolina}, year = {2016}, @@ -131,7 +131,7 @@ @article{gschwender_using_2016 } @book{james_introduction_2013a, - title = {An {{Introduction}} to {{Statistical Learning}}: With {{Applications}} in {{R}}}, + title = {An {{Introduction}} to {{Statistical Learning}}: {{With Applications}} in {{R}}}, shorttitle = {An {{Introduction}} to {{Statistical Learning}}}, author = {James, Gareth and Witten, Daniela and Hastie, Trevor and Tibshirani, Robert}, year = {2013}, @@ -158,7 +158,7 @@ @book{lovelace_geocomputation_2019 @article{lovelace_open_2020, ids = {lovelace_open_2020a}, - title = {Open Access Transport Models: A Leverage Point in Sustainable Transport Planning}, + title = {Open Access Transport Models: {{A}} Leverage Point in Sustainable Transport Planning}, shorttitle = {Open Access Transport Models}, author = {Lovelace, Robin and Parkin, John and Cohen, Tom}, year = {2020}, @@ -187,7 +187,7 @@ @article{lovelace_open_2021 } @article{lovelace_propensity_2017, - title = {The {{Propensity}} to {{Cycle Tool}}: An Open Source Online System for Sustainable Transport Planning}, + title = {The {{Propensity}} to {{Cycle Tool}}: {{An}} Open Source Online System for Sustainable Transport Planning}, shorttitle = {The {{Propensity}} to {{Cycle Tool}}}, author = {Lovelace, Robin and Goodman, Anna and Aldred, Rachel and Berkoff, Nikolai and Abbas, Ali and Woodcock, James}, year = {2017}, @@ -212,7 +212,7 @@ @techreport{lovelace_reproducible_2020 } @article{lovelace_stats19_2019, - title = {Stats19: A Package for Working with Open Road Crash Data}, + title = {Stats19: {{A}} Package for Working with Open Road Crash Data}, author = {Lovelace, Robin and Morgan, Malcolm and Hama, Layik and Padgham, Mark}, year = {2019}, journal = {Journal of Open Source Software}, @@ -221,7 +221,7 @@ @article{lovelace_stats19_2019 } @article{lovelace_stplanr_2018, - title = {Stplanr: A {{Package}} for {{Transport Planning}}}, + title = {Stplanr: {{A Package}} for {{Transport Planning}}}, author = {Lovelace, Robin and Ellison, Richard}, year = {2018}, journal = {The R Journal}, @@ -233,7 +233,7 @@ @article{lovelace_stplanr_2018 } @book{monbiot_out_2017, - title = {Out of the {{Wreckage}}: A {{New Politics}} for an {{Age}} of {{Crisis}}}, + title = {Out of the {{Wreckage}}: {{A New Politics}} for an {{Age}} of {{Crisis}}}, shorttitle = {Out of the {{Wreckage}}}, author = {Monbiot, George}, year = {2017}, @@ -331,7 +331,7 @@ @book{ortuzars._modelling_2001 } @book{parkin_designing_2018, - title = {Designing for {{Cycle Traffic}}: International {{Principles}} and {{Practice}}}, + title = {Designing for {{Cycle Traffic}}: {{International Principles}} and {{Practice}}}, shorttitle = {Designing for {{Cycle Traffic}}}, author = {Parkin, John}, year = {2018}, @@ -440,7 +440,7 @@ @book{tufte_visual_2001 } @book{xie_markdown_2018, - title = {R {{Markdown}}: The {{Definitive Guide}}}, + title = {R {{Markdown}}: {{The Definitive Guide}}}, shorttitle = {R {{Markdown}}}, author = {Xie, Yihui and Allaire, J. J. and Grolemund, Garrett}, year = {2018}, diff --git a/timetable.csv b/timetable.csv new file mode 100644 index 0000000..a996747 --- /dev/null +++ b/timetable.csv @@ -0,0 +1,27 @@ +summary,description,date,duration +TDS Lecture 1,"\n_____________________________________________________________ + ___________________\nMicrosoft Teams meeting\nJoin on your computer or mob + ile app\nClick here to join the meeting\nLearn more + | Meeting options\n_______________________________________________________________________ + _________\n",2022-01-24,0 +TDS Practical,\n,2022-02-03,0 +TDS seminar,\n,2022-02-16,0 +TDS Practical,"Getting these in the calendar. Details soon.\n\n_______________ + _________________________________________________________________\nMicroso + ft Teams meeting\nJoin on your computer or mobile app\nClick here to join + the meeting\nLearn more | Meeting options\n_________________________ + _______________________________________________________\n",2022-03-31,0