ropensci / neotoma

Programmatic R interface to the Neotoma Paleoecological Database.
https://docs.ropensci.org/neotoma
Other
30 stars 16 forks source link

get.datasets returns a list #1

Closed sckott closed 11 years ago

sckott commented 11 years ago

It should return a data.frame, from SImon:

"The problem is that when a dataset gets returned it can contain a number of possible submission dates and chronologies, so it's a list with lists, and that makes it hard to turn it into a table with a uniform number of columns and stuff (for me anyway)."

SimonGoring commented 11 years ago

I think it's okay for now. I'd prefer to leave it as a list of data.frames for now. I need to check in with some of the Neotoma people to see what they think. One option is to chop the submission so that only the first submission is done. The other would be to have a unique entry for each object with multiple submission dates. Neither option is particularly appealing, so I think that the list is best.

sckott commented 11 years ago

Okay, will leave it for now...

SimonGoring commented 11 years ago

Cool. I'll update the lab document so it works when get.datasets returns a list, rhather than fixing get.datasets.