Posts

Showing posts from 2020

Using R for Analyzing COVID-19 Clinical Trials from clinicaltrials.gov

Although I use R extensively my work, samples can't be shared because of non-disclosure agreements with my clients. For this reason, I'm starting to build a portfolio of samples of my own work with R for data analysis and other tasks.
Since COVID-19 is in the news now and I have experience with clinicaltrials.gov from my work with a biotech startup (www.biostreamtech.com), it seemed like a good way to start.
The source code can be found at: https://github.com/davesides/covid_19_clinical_trials
Some techniques used daily include: select to remove, order, rename columnsmutate to add columns or modify values in columnsfilter to eliminate rows from a data framearrange to order rows in a data framegroup_by and summarize to pivotreplace_na to replace NA with (typically) zerosread_tsv (csv, etc.) to read delimited filespackages readxl and writexl to read and write Excel files Many more examples to come, but I wanted to post something as a starting point.

Virtual Poker Experiment

Image
In these times of social distancing our monthly poker group wanted to find a way to meet virtually. Since we play many variations of poker (we've been meeting for about 25 years) we needed a solution that was flexible and also provides the interaction of a virtual BYOB happy hour. The solution we found will only work with a group that you trust and is based on the honor system. Don't consider this a competitor for PokerStars or another online casino. Here's what we tried this past Friday night that worked pretty well... (images blurred to protect the "innocent" 😉)

We used Whereby (Pro Plan - $10/month) for the video group call supporting up to 12 callers comfortably. They offer a free plan if you want to try it out with up to 4 people (bridge, hearts or spades would work well with 4). This solution is very convenient since it does not require an install and we wanted to minimize technical support issues with the group.


For the card table interaction we used play…