When I upload content, I get a much more complex structure than you. For me it is not pull_lists[[i]]$content, it pull_lists[[i]]$value$content[[1 or 2]]$parents$sha. The reason that nothing is populated is because nothing exists there (i.e. N = 0).
. , , .
:
sha_locations <- grep("sha$",names(unlist(pull_list[[1]])))
unlist(pull_list[[1]])[sha_locations]
for , :
sha_list <- lapply(
pull_list,
function(x) unlist(x)[grep("sha$",names(unlist(x)))]
)
SHA, SHA , SHA:
sha_list <- sha_list[[1]][attr(sha_list[[1]], "names")=="value.content.sha"]