Learn R Programming

syntaxr

An R package for generating bulk SPSS syntax from the R environment.

Description

This package was designed for bulk transformation of variables, and is especially suited for large databases. syntaxr provides enhanced flexibility for manipulating variables outside of SPSS.

Currently includes

syntaxr (v. 0.8.0) currently provides functions for the following SPSS commands :

  • COMPUTE (CONCAT()). (with STRING creation)
  • COMPUTE (MAX()).
  • RENAME VARIABLES().
  • STRING().
  • RTRIM(). (formatting only - no saved output)

Badges

Copy Link

Version

Install

install.packages('syntaxr')

Monthly Downloads

155

Version

0.8.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Alix Lahuec

Last Published

April 6th, 2019

Functions in syntaxr (0.8.0)

spss.compute.concat

Generate SPSS 'COMPUTE' syntax to compute the CONCAT() of two (sets of) variables.
spss.string

Generate SPSS 'STRING' syntax to create a variable of type string.
spss.concat.new

Generate SPSS 'STRING' syntax and 'COMPUTE' syntax to compute the CONCAT() of two (sets of) variables.
spss.format.compute

Generate SPSS 'COMPUTE' syntax to carry out an operation on two (sets of) variables.
spss.rename

Generate SPSS 'RENAME' syntax to rename a (set of) variables into another.
spss.format.concat

Generate SPSS 'concat()' syntax for two (sets of) variables.
spss.rtrim

Generate SPSS 'RTRIM' syntax to apply RTRIM() to a string variable.
spss.format.max

Generate SPSS 'MAX()' syntax for two (sets of) variables.
spss.compute.max

Generate SPSS 'COMPUTE' syntax to compute the MAX() of two (sets of) variables.