首页 > 解决方案 > load hundreds of dataset from Github in R

问题描述

From Johns Hopkins University COVID dataset, the data are in separate pages per date. screenshot

I hope to read all the datasets in R without having to code read.table(url("")) hundred times. After reading them in R, I'm planning on merging them by adding a "date" column. Is there a way to go about this?

标签: rgithub

解决方案


可能有更简单的方法——我很确定 JHU 数据集有聚合。其他人也可以解决它,和/或提供其他聚合。

例如,我每天使用纽约时报的这个 git repo已经有14 个月左右的时间了。您可以克隆它,每天更新并享受精选的 csv 文件。


推荐阅读