Skip to content

Commit

Permalink
fix querry
Browse files Browse the repository at this point in the history
  • Loading branch information
EhrmannS committed Jan 21, 2025
1 parent f358f46 commit 66991c3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 0.9.4
Date: 2025-01-20 11:29:04 UTC
SHA: d08817afdde8712ddd06f599ce0cccadcba2ae11
Date: 2025-01-20 13:26:21 UTC
SHA: f358f466e8b874e6cdd33973e5837a8d5db99d11
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: Many relevant applications in the environmental and socioeconomic
make this a tedious and error-prone process. 'arealDB' tackles those problems and
helps the user to integrate a harmonised databases of areal data. Read the paper
at Ehrmann, Seppelt & Meyer (2020) <doi:10.1016/j.envsoft.2020.104799>.
Version: 0.9.4
Version: 0.9.5
Authors@R: c(
person(
given = "Steffen",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# arealDB 0.9.5

- fix `query = ...` in `normGeometry()` to allow full customization.

# arealDB 0.9.4

- fix example data so that github actions run properly.
Expand Down
2 changes: 1 addition & 1 deletion R/normGeometry.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ normGeometry <- function(input = NULL, pattern = NULL, query = NULL, thresh = 10
if(!is.null(query)){
moveFile <- FALSE
input_geom <- read_sf(dsn = thisInput,
query = paste0("select * from ", gLayer, " ", query),
query = query,
stringsAsFactors = FALSE)
} else {
input_geom <- read_sf(dsn = thisInput,
Expand Down
1 change: 1 addition & 0 deletions arealDB.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: fa28d006-8d07-4dc5-a48b-f9acf18662a1

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down

0 comments on commit 66991c3

Please sign in to comment.