How to Use IsoMemo for Researchers

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(IsoMemo)
getDatabaseList() # returns a character format of list of database names linked to the API call
df = getData(db = "IntChron", category = "Location", field = "latitude", mapping = "IsoMemo")
# see latitude and longitude of each site
summary(df)

The function below retrieves ALL data and fields from all existing databases.

# ALL_DATA = getData()
# print(nrow(ALL_DATA)) # check how many rows
# levels(ALL_DATA$source) # check all the database sources are there

Let's explore another database: LiVES

getDatabaseList() # tells what database are currently published

df1 = getData('LiVES')
summary(df1)

How is the distribution of the variable "d15N" isotope?

hist(df1$d15N)

Let's see the linear relationship between variables d13C and d15N:

df1 <- na.omit(df1)
lm(d13C~d15N,data=df1)


Try the IsoMemo package in your browser

Any scripts or data that you put into this service are public.

IsoMemo documentation built on Nov. 3, 2023, 5:09 p.m.