I've greatly enjoyed running Chuck Huber's Stata code that automated the download of COVID data from the Johns Hopkins data depository (see https://blog.stata.com/2020/03/24/up...covid-19-post/). Yet this code no longer updates as it is limited to 2020 data. Has anyone updated the code to retrieve 2020 and 2021 data? I'm guessing it is an easy fix, but my macro and looping skills within Stata are still underdeveloped.

Has anyone updated this Stata code? If so, will you share?