Skip to content

Commit 63984e3

Browse files
committed
Merge branch 'develop' of github.com:miraisolutions/sparkgeo into develop
2 parents e83f17f + e4e965b commit 63984e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Authors@R: c(person(family = "Mirai Solutions GmbH", role = "aut",
1313
Description: The 'sparkgeo' package is a 'sparklyr' extension package providing geospatial
1414
analytics capabilities to Spark and R.
1515
Depends: R (>= 3.3.2)
16-
Imports: sparklyr, dplyr
16+
Imports: sparklyr (>= 0.6.4), dplyr (>= 0.7.0)
1717
License: GPL-3 | file LICENSE
1818
SystemRequirements: Java (>= 1.8), Spark 2.x
1919
Encoding: UTF-8

R/spatial_join.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spatial_join <- function(x, y, latitude, longitude, polygon) {
2626

2727
x %>%
2828
mutate(dummy = TRUE) %>% # https://github.com/tidyverse/dplyr/issues/1841
29-
inner_join(y %>% mutate(dummy = TRUE)) %>%
29+
inner_join(y %>% mutate(dummy = TRUE), by = "dummy") %>%
3030
mutate(is_within = within(point(!!latitude, !!longitude), !!polygon)) %>%
3131
filter(is_within) %>%
3232
select(-one_of("dummy", "is_within"))

0 commit comments

Comments
 (0)