Package 'tidyEdSurvey'

Title: Integration of 'dplyr' and 'ggplot2' with 'EdSurvey'
Description: Takes objects of class edsurvey.data.frame and converts them to a data.frame within the calling environment of 'dplyr' and 'ggplot2' functions. Additionally, for plotting with 'ggplot2', users can map aesthetics to subject scales and all plausible values will be used. This package supports student level data; to work with school or teacher level data, see '?EdSurvey::getData'.
Authors: Blue Webb [aut, cre] , Tom Fink [ctb]
Maintainer: Blue Webb <[email protected]>
License: GPL-2
Version: 0.1.3
Built: 2025-03-05 05:03:29 UTC
Source: https://github.com/cran/tidyEdSurvey

Help Index


Attach an edsurvey.data.frame to Search Path

Description

Implements attach for an edsurvey.data.frame or a light.edsurvey.data.frame by attaching student level variables to the search path

Usage

attach(
  what,
  pos = 2L,
  name = deparse1(substitute(what), backtick = FALSE),
  warn.conflicts = TRUE
)

Arguments

what

equivalent to 'what' in base::attach, but can also be an edsurvey.data.frame or light.edsurvey.data.frame

pos

equivalent to 'pos' in base::attach

name

equivalent to 'name' in base::attach

warn.conflicts

equivalent to 'warn.conflicts' in base::attach

Details

Because attach is a standard generic function that does not use method dispatch, we set this function as generic, which means it overwrites base::attach on loading. If the object to attach is not an edsurvey.data.frame or a light.edsurvey.data.frame, the function will revert to the standard base method.

Value

the environment is returned invisibly with a "name" attribute

Author(s)

Blue Webb

See Also

attach