Working with the prlinks command for entrez_link in #55 made it clear that the object returned by these links functions can be a little cumbersome. They return a nested list that might include empty elements (for missing data). I imagine most users will only want to extract urls from these objects, so a simple function that does just that would be helpful.
I imagine the workflow would go something like this
Working with the
prlinks
command forentrez_link
in #55 made it clear that the object returned by these links functions can be a little cumbersome. They return a nested list that might include empty elements (for missing data). I imagine most users will only want to extract urls from these objects, so a simple function that does just that would be helpful.I imagine the workflow would go something like this
And will return NA for missing data and a character string for good urls