Skip to content

Commit 1972fca

Browse files
authored
fieldsdf setting groups on top level attributes (#38)
1 parent e0ebd97 commit 1972fca

File tree

4 files changed

+180
-180
lines changed

4 files changed

+180
-180
lines changed

R/sysdata.rda

1.88 KB
Binary file not shown.

data-raw/fieldsdf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ extract_relevant_schema_info <- function(schema_elements) {
9292
endpoint = lookup[[schema_element]],
9393
field = x,
9494
data_type = data_type,
95-
group = "",
95+
group = names(api$components$schemas[[schema_element]]$properties),
9696
common_name = x
9797
)
9898
}

0 commit comments

Comments
 (0)