Learn R Programming

SciencesPo (version 1.4.0)

read.zTree: Reads zTree output files

Description

Extracts variables from a zTree output file.

Usage

read.zTree(object, tables = c("globals", "subjects"))

Arguments

object
a zTree file or a list of files.
tables
the tables of intrest.

Value

A list of dataframes, one for each table

Examples

Run this code
## Not run: url <- 
# zTables <- read.zTree( "131126_0009.xls" , "contracts" )
# zTables <- read.zTree( c("131126_0009.xls",
# "131126_0010.xls"), c("globals","subjects", "contracts" ))
# ## End(Not run)

Run the code above in your browser using DataLab