tests/testthat/_snaps/geocode_cities.md

geocode_cities works

# A tibble: 2 x 7
  city             a     b country city_cog city_lat city_lon
  <chr>        <dbl> <dbl> <chr>   <chr>       <dbl>    <dbl>
1 Nantes           1     1 France  44109        47.2    -1.56
2 Saint-Brieuc     2     2 France  22278        48.5    -2.76
# A tibble: 2 x 8
  city          a     b country city_cog city_lat city_lon proposition_city
  <chr>     <dbl> <dbl> <chr>   <chr>       <dbl>    <dbl> <chr>           
1 Nantes        1     1 France  44109        47.2    -1.56 <NA>            
2 St Brieuc     2     2 France  22278        48.5    -2.76 Saint-Brieuc
# A tibble: 2 x 8
  city       a     b country city_cog city_lat city_lon proposition_city
  <chr>  <dbl> <dbl> <chr>   <chr>       <dbl>    <dbl> <chr>           
1 Nantes     1     1 France  44109        47.2    -1.56 <NA>            
2 Perros     2     2 France  22168        48.8    -3.46 Perros-Guirec
# A tibble: 2 x 7
  city         a     b country   city_cog city_lat city_lon
  <chr>    <dbl> <dbl> <chr>     <chr>       <dbl>    <dbl>
1 Nantes       1     1 France    44109        47.2    -1.56
2 Canberra     2     2 Australie <NA>         NA      NA
# A tibble: 2 x 7
  city      a     b country   city_cog city_lat city_lon
  <chr> <dbl> <dbl> <chr>     <chr>       <dbl>    <dbl>
1 <NA>      1     1 France    <NA>           NA       NA
2 <NA>      2     2 Australie <NA>           NA       NA


JMPivette/evavelo documentation built on April 8, 2023, 4:20 p.m.