Versions Compared

Key

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

...

  • The syntax for a simple recode is newVar:originalVar[originalValue1=newValue1;originalValue2=newValue2;...]

    Code Block
    titleSimple Recode
     http://{host}/rds/{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/{collection}/{view}/select?cols=newVar:originalVar[*:10=1;11:20=2;21:*=3]