Skip to content

Implement specify_fct() #2

@jonthegeek

Description

@jonthegeek

This function will be used to define the specification for a factor column. It's the first step in the hrmn workflow: defining the target state.

For the MVP, this function should accept a levels argument, which is a character vector of the allowed levels for the factor.

Example Usage:

# Defines a specification for a factor that must contain "active" or "inactive".
spec <- specify_fct(levels = c("active", "inactive"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions