-
Notifications
You must be signed in to change notification settings - Fork 12
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
form schema constructor based on data.frame/Excel/CSV input #65
Comments
|
So the branch for v4.33 has
I have left more to the user in terms of dealing with dates but it will create a formSchema with a date form field if there is a date column. A date-time column is converted to a character column for now since I didn't find an equivalent type and it would be up to the user to split it into two columns with date and time if necessary. Would it could be useful to have a way to select existing columns from existing forms to duplicate into a new schema? This might be a more natural way of dealing with data that may have sub-forms and reference fields and/or multiple select. |
yeah i think this would be nice, because there are times we may want to create sub-forms or similar form-subform relationships more than once |
based off of the work done in #44 #32 >> next step would be to let users have a data.frame, imported CSV/Excel file in R be transformed into an activityinfo form by using the various form schema helper functions
the difficult part would be stuff like single-select/multiple select since those would all be simple 'text' fields in a data.frame when checked with
str()
ordplyr::glimpse()
. so i imagine for special fields, the user would need to specify certain columns/fields in their data.frame to be a certain field type so that the constructor function will handle it properly when creating the form schema based off the data.frameThe text was updated successfully, but these errors were encountered: