dot: dot and related functions

Description Usage Arguments Examples

View source: R/dot.R

Description

dot and related functions

Usage

1
2
3
4
5
6
7

Arguments

.data

input. This can be JSON input, or an object of class jqr that has JSON and query params combined, which is passed from function to function when using the jqr DSL.

dots

dots

...

Comma separated list of unquoted variable names

.dots

Used to work around non-standard evaluation

Examples

1
2
3
4
5
6
str <- '[{"name":"JSON", "good":true}, {"name":"XML", "good":false}]'
str %>% dot
str %>% index %>% dotstr(name)
'{"foo": 5, "bar": 8}' %>% dot
'{"foo": 5, "bar": 8}' %>% dotstr(foo)
'{"foo": {"bar": 8}}' %>% dotstr(foo.bar)

ropensci/jqr documentation built on Oct. 26, 2018, 7:15 p.m.