Re: [R] How to clean up missing values in a list of lists

2015-02-10 Thread Aron Lindberg
Thanks Dennis! In the end try worked: get_files <- function(pull_lists){   try(sapply(pull_lists$content, "[[", "filename" )) } Best, Aron --  Aron Lindberg Doctoral Candidate, Information Systems Weatherhead School of Management  Case Western Reserve University aronlind

[R] How to clean up missing values in a list of lists

2015-02-10 Thread Aron Lindberg
Hi, I’m trying to query the Github API, and I’m running into some data munging issues, so I was hoping someone on the list might advise. Here’s my code. To run it you need to replace client_id and client_secret with your own authorization information for Github. library(github) library(RCur