get_attributes: Obtain tabulate attributes

Description Usage Arguments Value Examples

View source: R/get_attributes.R

Description

Should we want to view the tabulate attributes as a tibble, in case of editing or checking accuracy, we can use this function to extract them and store within a tibble.

Usage

1
2
get_attributes(x, export = FALSE,
  filename = sprintf("Survey Tools Parameters %s.csv", Sys.Date()))

Arguments

x

list

export

logical indicating whether we want to export the parameters into a csv file within the current working directory

filename

string defaulting to "Survey Tools Parameters Sys.Date().csv"

Value

tibble of parameters

Examples

1
2
3
library(surveySimulate)
example <- simulateSurvey(100)
parameters <- get_attributes(example)

OpenSourceMindshare/surveytools documentation built on Aug. 14, 2019, 10:38 a.m.