I use these scripts to automatically update my baseball clubs homepage
Clone or download
skofieldO5 Update schedule_rlo.Rmd
Swaped Heim and Gast columns to match the results
Latest commit 2c2dbd7 Jul 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
next_events.Rmd Add files via upload Jul 3, 2018
post_to_wordpress.R
schedule_abbqs.Rmd
schedule_rlo.Rmd
standings_abbqs.Rmd
standings_rlo.Rmd
standings_rlo_sidebar.Rmd

README.md

I wrote these couple of scripts to automatically update my baseball clubs homepage www.crazy-geese.at using R and R Markdown

It basically gets the standings and schedules from baseballaustria.com and from abbqs.at, it processes this data and automatically uploads it to my clubs homepage.

Here the files in detail:

next_events.Rmd: In the header of my clubs homepage there is a section which announces the next events. It shows the next baseball as well as the next softball game and checks which one ins nearer in the future and puts this one first.

schedule_abbqs.Rmd It gets the softball schedule and formats it in a nice fashion.

schedule_rlo.Rmd It gets the baseball schedule and formats it in a nice fashion.

standings_abbqs.Rmd It gets the softball schedule and formats it.

standings_rlo.Rmd It gets the baseball schedule and formats it.

standings_rlo_sidebar.Rmd Basically the same thing as standings_rlo.Rmd but it's a smaller version for the sidebar of the homepage.

post_to_wordpress.R The shortest one but the heart of it. It calls the single RMD files, takes their output and uploads it to the wordpress website of my baseball club.

If you have feedback or simply want to get in touch just write me: bernd at berndschmidl.com

Cheers Bernd