Skip to content

Commit 03cd9a3

Browse files
committed
post PR
1 parent cff626a commit 03cd9a3

File tree

3 files changed

+6
-48
lines changed

3 files changed

+6
-48
lines changed

R/_temp.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

2+
library(devtools)
23

4+
use_testthat()
5+
use_test("geojson_addZ")
6+
use_coverage(type = c("codecov"))
37

8+
library(covr)
9+
codecov()
410

511
######################################
612

R/geojson_get_field.R

Lines changed: 0 additions & 25 deletions
This file was deleted.

R/list_child_concepts.R

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -149,26 +149,3 @@ list_child_concepts <- function(db.con = NA,
149149
d[[field.uuid]] <- subgraph.uuid
150150
return(d)
151151
}
152-
153-
# create a Postgres connection (replace 'xxx' by password)
154-
d <- hash::hash()
155-
my_con <- RPostgres::dbConnect(drv = RPostgres::Postgres(),
156-
user = 'postgres',
157-
password = 'postgis',
158-
dbname = 'eamena',
159-
host = 'ec2-54-155-109-226.eu-west-1.compute.amazonaws.com',
160-
port = 5432)
161-
162-
# Disturbance Extent Type
163-
d <- list_child_concepts(db.con = my_con,
164-
d = d,
165-
field = "Disturbance Extent Type",
166-
concept.name = "Disturbance Extent Type",
167-
disconn = F)
168-
169-
d <- list_child_concepts(db.con = my_con,
170-
d = d,
171-
field = "subcultural_periods",
172-
concept.name = "Cultural Sub-Period",
173-
disconn = T)
174-

0 commit comments

Comments
 (0)