inst/examples/jq.R

# http://tinyurl.com/y7ltbmjm

library(jqr)
library(magrittr)
readLines("examples/taxa-top-down.json") %>% 
  jq(".. |  .name? // empty ")

readLines("examples/taxa-top-down.json") %>% 
  jq(".. | {rank: .rank?, name: .name?} ")

Try the taxadb package in your browser

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

taxadb documentation built on March 31, 2023, 10:20 p.m.