You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the taxonomy and NOM R notebooks define functions for interacting with the NMDC API. The functions are essentially the same. (e.g. cell 2 here)
Rather than copy pasting the same code into every new notebook, it would be better to pull those functions out into an R package accessible by all notebooks in this repo.
Completion criteria:
An R script exists in this repo containing the API interaction functions we've written so far
The existing notebooks use functions from the script and no longer define them internally
It plays nicely with our renv .lock file (someone newly cloning the repo can run the notebooks after using renv::restore() )
The text was updated successfully, but these errors were encountered:
Dealing with R packages nested in a repo is messy, so I'm going to start over with just making an R script of functions to call. Updated the checkboxes above to say "script" instead of "package"
Currently, the taxonomy and NOM R notebooks define functions for interacting with the NMDC API. The functions are essentially the same. (e.g. cell 2 here)
Rather than copy pasting the same code into every new notebook, it would be better to pull those functions out into an R package accessible by all notebooks in this repo.
Completion criteria:
renv::restore()
)The text was updated successfully, but these errors were encountered: