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?} ")
cboettig/taxadb documentation built on April 17, 2024, 6:34 p.m.