Open taylorreiter opened 4 years ago
More json parsing in R that may be helpful in the future -- this one doesn't require a forloop and so should be much faster. haven't tested on signatures yet though
carpentries_json <- read_json("https://feeds.carpentries.org/dc_past_workshops.json")
carpentries_df <- do.call(rbind, lapply(carpentries_json, rbind))
carpentries_df <- carpentries_df %>%
as.data.frame() %>%
mutate_all(as.character)
Dumping this here so it's recorded somewhere. This reads in a signature with multiple minhashes, output by gather using the flag
--save-matches
.I only needed a subset of information and did things that are super specific to my project (like separate out the file name), soI'm including below what I actually ran and the dataframe output :