Website Designing: my little experience

Creating static website using R and HTML

Image credit: Cymax Media

Introduction

I started my data science learning in the year 2016. Initially, I came into contact with Epi-Info through a senior colleague. Along the line, I stumbled on the Data Science Specialization course on Coursera offered by the John Hopkins Bloomberg School of Public Health. Boom!! I fell in love completely. Coming from someone without prior computer programming or website designing experience (I came from practically zero), and a practicing medical professional, I had initial turbulence. But my perseverance got the better of me 😄.

My initial interest was in the computing power of R, but I steadily became interested in other aspects including using R for slides presentation, interactive charts, etc. The desire to customise the appearances steadily led me into learning about CSS and HTML. That was the beginning of my website design journey.

So far, I have built three sites, all consisting of static web pages. While my first two sites were built over 2 years ago, professional and family life got the best of my free time over the past two years. I came back to R very much about this year and I have been trying to catch-up with the rapidly developing and ever increasing knowledge of R which I usually find overwhelming and intriguing at the same time. Here I share my experience building the three sites, two with R packages and the third one from the scratch (writing the HTML codes).

First Website - RHDS

Built in May 2017 with R using the Rmarkdown package. Thanks to the detailed documentations, I was able to build the site in a short time. I had to learn a little of HTML and CSS thanks to w3schools tutorials. Github provided the hosting platform and a repository for my files. Though it has not been maintained in a while (I intend to periodically update it from this year), I use the site to share my analysis of healthcare data of open source data repositories of WHO and other United Nation agencies.

Second Website - Teehwy’s world

Following the success of my first website, and my initial knowledge of CSS and HTML, I became more curious about learning HTML and CSS. Thanks to the Coursera course offered by the University of Michigan. I began building my second website from the scratch writing the HTML and CSS codes myself using both Visual Studio 2017 and Visual Studio Code. Even though the site has only few web pages, I thoroughly enjoyed the experience of building a site from the scratch, and ensuring compliance with validatorW3. While Github provides the repository, the site is currently hosted on byethost. I will be moving it away from Byethost to either Netlify or Github in the next couple of months and will update this page accordingly.

Third Website - Balogun Stephen Taiye

Built in February 2020 using the R package blogdown and Hugo. There are pre-designed powerful themes that provide options from simple to complex that makes the experience a whole lost faster and easier. I am currently using the Academic theme, and I am literarily swept off my feet. The site is hosted on netlify with github providing the repository If you are ever interested in building a website using blogdown and Hugo, I think you will also find the links below very useful:

Conclusion

I think it is a good idea for every person interested in building websites to have a basic idea of how to build a site from the scratch. But for persons who are also interested in data science, the data science software can also be leveraged upon to develop powerful static websites that can be further customised for personal touch and appearance.

While I am not sure if I will venture into dynamic websites in the near future, I am definitely in love with the blogdown package for website building and I intend to continue to use it in the main time. Like Yihui said in his book "”

Avatar
Stephen Taiye Balogun
State Clinical Coordinator

I am a pubic health expert, healthcare quality improvement and patient safety expert, data scientist and project manager. I am passionate about improving healthcare indices in my country, and open to new opportunites. A proud Ambassador, Fellow and Member of ISQua

comments powered by Disqus