attrs: Build an 'oshExListAttrs' condition

Description Usage Arguments Details Examples

Description

The function is used to create an oshExListAttrs condition that can be used by the osh_filter function.

Usage

1

Arguments

...

One or more key-value pairs binary operators. See 'Details' below for a description of each operator.

Details

The attrs function can be used to create one or multiple conditions bundeled together within an oshExList-class object. Currently attrs can't filter by numeric relations. Use concatenate to create a filter for a key-value pair (see examples).

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # Filter edits by osm user name
  cond <- attrs(k %eq% wew84)

  # Use quotation marks for multiple words quarries
  cond <- attrs(k %eq% "JumpStart International")
  
## End(Not run)

dof1985/OSHEX documentation built on May 28, 2019, 3:36 p.m.