Closed Ryo-N7 closed 2 years ago
Available in the version-4.20 branch:
library("remotes")
remotes::install_github("bedatadriven/activityinfo-R", ref = "version-4.20")
library("activityinfo")
form.schema <- getFormSchema("{formId}")
as.data.frame(form.schema)
Thanks, I tried it and looks good to me!
Hi all,
For the database introspection tool I would like to check for
key
fields in each table.It appears that here: https://github.com/bedatadriven/activityinfo-R/blob/master/R/forms.R#L188 the method for coercing the form schema to a data.frame removes the column.
Could we please remove the line so we can keep it in?
Thanks!