Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function get_long_text_fields.R #7

Closed
pbchase opened this issue Jan 2, 2025 · 1 comment
Closed

Add a function get_long_text_fields.R #7

pbchase opened this issue Jan 2, 2025 · 1 comment
Assignees

Comments

@pbchase
Copy link
Contributor

pbchase commented Jan 2, 2025

Add a function get_long_text_fields.R analogous to get_long_categorical_field_responses.R that returns the fields in a data dictionary that have a field type of text. The returned dataset should have these columns::

  • field_name
  • form_name
  • field_type - "text"
  • weight - 100

Note

Future versions of this function will call text validation type handlers that will append more columns that govern the fill of fields. The columns set will vary according to text validation type. For example a numeric field might add these columns and values:

  • text_validation_type - "numeric"
  • mean - the mean of the field
  • sd - the standard deviation of the field
@pbchase pbchase added this to the Handle all field_types milestone Jan 2, 2025
@pbchase pbchase self-assigned this Jan 14, 2025
pbchase added a commit to pbchase/redcapfiller that referenced this issue Jan 15, 2025
Address issues ctsit#3, ctsit#7.
Add get_long_text_fields().
Add get_long_text_field_values().
Modify get_long_categorical_field_response_values().
Modify get_one_rectangle_of_values()
Update proof_of_concept().
Update README to reflect the new feature.
@pbchase
Copy link
Contributor Author

pbchase commented Jan 22, 2025

Addressed by PR #12

@pbchase pbchase closed this as completed Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant