Skip to content

Commit 57c21d9

Browse files
committed
#390 adapt worldbank metadataeditr software and action to #402
1 parent 918bdc0 commit 57c21d9

6 files changed

+787
-2
lines changed

DESCRIPTION

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: geoflow
2-
Version: 0.9999.20250131
3-
Date: 2025-01-31
2+
Version: 0.9999.20250204
3+
Date: 2025-02-04
44
Title: Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
55
Description: An engine to facilitate the orchestration and execution of metadata-driven data management workflows, in compliance with FAIR
66
(Findable, Accessible, Interoperable and Reusable) data management principles. By means of a pivot metadata model, relying on the DublinCore standard (<https://dublincore.org/>),
@@ -81,7 +81,10 @@ Suggests:
8181
rmarkdown,
8282
dataverse,
8383
blastula,
84+
metadataeditr,
8485
waldo
86+
Remotes:
87+
ihsn/metadataeditr
8588
License: MIT + file LICENSE
8689
URL: https://github.com/r-geoflow/geoflow
8790
BugReports: https://github.com/r-geoflow/geoflow

R/geoflow_software.R

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,23 @@ register_software <- function(){
690690
)
691691
),
692692
#-------------------------------------------------------------------------------------------------------
693+
#WORLDBANK METADATA EDITOR CLIENT
694+
#-------------------------------------------------------------------------------------------------------
695+
geoflow_software$new(
696+
software_type = "metadataeditr",
697+
definition = "World Bank metadata editor client powered by 'metadataeditr' package",
698+
packages = list("metadataeditr"),
699+
handler = try(metadataeditr:::set_api, silent = TRUE),
700+
arguments = list(
701+
api_url = list(label = "API URL", def = "Metadata editor API endpoint URL", class = "character"),
702+
api_key = list(label = "API key", def = "An API user authorization key (to be generated in the Metadata editor)", class = "character"),
703+
verbose = list(label = "verbose", def = "Whether messages should be displayed or not", class = "logical", default = FALSE)
704+
),
705+
attributes = list(
706+
collection_names = list(label = "Collection_names", def = "A coma-separated list of collection names where projects will be associated with", class = "character")
707+
)
708+
),
709+
#-------------------------------------------------------------------------------------------------------
693710
#SMTP CLIENT
694711
#-------------------------------------------------------------------------------------------------------
695712
geoflow_software$new(

0 commit comments

Comments
 (0)