map_chr_hack: to avoid issues with map_chr and NULL

Description Usage Arguments Value Examples

Description

to avoid issues with map_chr and NULL

Usage

1
map_chr_hack(.x, .f, ...)

Arguments

.x
.f
...

Value

a character vector

Examples

1
2
3
4
5
A helper function from https://github.com/jennybc/analyze-github-stuff-with-r#readme
same arguments as map_chr

  issue <-  res$issues %>% {
     tibble(issuetype_id = map_chr_hack(., ~ .x[["fields"]][["issuetype"]][["id"]]))} 

rgustavs/tidyjira documentation built on May 29, 2019, 8:08 a.m.