Skip to content

Commit

Permalink
Convert all R notebooks to jupyter exclusively
Browse files Browse the repository at this point in the history
Also add links to NMDC runtime API documentation, closes #3
  • Loading branch information
kheal committed Dec 1, 2023
1 parent 90525db commit 940a67e
Show file tree
Hide file tree
Showing 15 changed files with 168 additions and 857 deletions.
199 changes: 0 additions & 199 deletions NEON_soil_metadata/R/NEON_data_exploration.Rmd

This file was deleted.

18 changes: 4 additions & 14 deletions NEON_soil_metadata/R/NEON_data_exploration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,25 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Loading required package: maps\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Load essential libraries\n",
"knitr::opts_chunk$set(echo = TRUE)\n",
"library(jsonlite, warn.conflicts=FALSE)\n",
"library(dplyr, warn.conflicts=FALSE)\n",
"library(tidyr, warn.conflicts=FALSE)\n",
"library(ggplot2, warn.conflicts=FALSE)\n",
"library(forcats, warn.conflicts=FALSE)\n",
"library(lubridate, warn.conflicts=FALSE)\n",
"if (!require('maps')) install.packages('maps', quiet = TRUE); library('maps', warn.conflicts=FALSE)"
"if (!require('maps', quiet = TRUE)) install.packages('maps', quiet = TRUE); library('maps', warn.conflicts=FALSE)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Get study IDs associated with NEON sites using API\n",
"## Get study IDs associated with NEON sites using NMDC runtime API\n",
"\n",
"Using R's jsonlite package and the [NMDC studies find endpoint](https://api.microbiomedata.org/docs#/find/find_studies_studies_get), we can get the NMDC study ID to filter by. "
"Using R's jsonlite package and the [NMDC studies find endpoint](https://api.microbiomedata.org/docs#/find/find_studies_studies_get), we can get the NMDC study ID to filter by. More information regarding the API can be found [here](https://github.com/microbiomedata/NMDC_documentation/blob/main/docs/howto_guides/api_gui.md)"
]
},
{
Expand Down
Loading

0 comments on commit 940a67e

Please sign in to comment.