Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add use case examples / unexpected error #8

Closed
cboettig opened this issue Feb 10, 2014 · 2 comments
Closed

Add use case examples / unexpected error #8

cboettig opened this issue Feb 10, 2014 · 2 comments
Assignees
Milestone

Comments

@cboettig
Copy link

This whole package looks pretty amazing.

It seems like it wouldn't be too difficult to replicate some figures from the literature in order to illustrate this package use. For instance, I thought this one might make a splashy example:

http://www.nature.com/nature/journal/v394/n6696/abs/394839b0.html

After looking up the species id for the red lilac successfully, I tried:

out <- getallobssp(speciesid = 35, startdate="1960-01-01", enddate="1994-01-01")

and got this error

Error in data.frame(phenophase_id = "76", phenophase_name = "First leaf",  : 
  arguments imply differing number of rows: 1, 0

(Provided this works, it would be fun to update the original figure with data since 1994 as well...)

Some of Lizzie's papers might be nice potential examples too: https://www.usanpn.org/biblio?f[author]=4604

@sckott
Copy link
Contributor

sckott commented Feb 10, 2014

Hey @cboettig Nice, good idea on the use case for sure. Let's do that when this error is fixed. I'll open another issue for this error.

To be honest, I haven't worked on this in a while - I think I was waiting on some API changes or something. I'll check back in with the developer.

@sckott sckott modified the milestone: v0.1 Feb 15, 2015
@sckott sckott self-assigned this Apr 20, 2016
@sckott sckott modified the milestones: v0.1, v0.2 Apr 20, 2016
@npnlee85
Copy link
Contributor

Package has this error fixed, and includes vignettes with a number of examples not unlike the graph provided in the linked paper. Also it's now possible to use the package to pull the Spring Index values directly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants