Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSimple Recode
 http://{host}/rds/api/catalog/{collection}/{view}/select?cols=newVar:originalVar[0=1;1=2;2=3] 

...

The syntax for a banded recode is newVar:originalVar[start:end=newValue1;start:end=newValue2;...]. In addition, the value * can be used to specify a upper or lower limit.

Code Block
titleBanded Recode
http://{host}/rds/api/catalog/{collection}/{view}/select?cols=newVar:originalVar[*:10=1;11:20=2;21:*=3] 

...