Skip to content

Commit

Permalink
test: add running example for select_non_nested
Browse files Browse the repository at this point in the history
Refs #7
  • Loading branch information
Dorchies David committed Feb 13, 2023
1 parent 97cfc64 commit f86ce64
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@
#'
#' @examples
#' \dontrun{
#' my_flat_list <- select_non_nested(my_nested_list)
#' l <- doApiQuery(api = "hydrobio",
#' endpoint = "stations_hydrobio",
#' params = list(code_region = 52))
#'
#' select_non_nested(l) %>%
#' select(-code_commune,
#' -libelle_departement,
#' -(libelle_region:longitude)) %>%
#' distinct()
#' }
select_non_nested <- function(my_list)

Expand Down
10 changes: 9 additions & 1 deletion man/utils.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f86ce64

Please sign in to comment.