Skip to content

Commit

Permalink
support #402
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Dec 31, 2024
1 parent 83f4db9 commit 52b0627
Show file tree
Hide file tree
Showing 20 changed files with 801 additions and 293 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: geoflow
Version: 0.9999.20241210
Date: 2024-12-10
Version: 0.9999.20241231
Date: 2024-12-31
Title: Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
Description: An engine to facilitate the orchestration and execution of metadata-driven data management workflows, in compliance with FAIR
(Findable, Accessible, Interoperable and Reusable) data management principles. By means of a pivot metadata model, relying on the DublinCore standard (<https://dublincore.org/>),
Expand Down
369 changes: 78 additions & 291 deletions R/geoflow_action.R

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions inst/actions/atom4R_dataverse_deposit_record.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
id: atom4R-dataverse-deposit-record
fun: atom4R_dataverse_deposit_record.R
funders:
- name: Réseau Zone Ateliers
url: https://www.za-inee.org/
authors:
- name: Emmanuel Blondel
email: [email protected]
maintainer:
orphaned: true
types:
- Data upload
- Data publication
- Metadata publication
- DOI management
def: Deposits/Publish data and/or metetadata on a Dataverse using the Sword API
target: job
target_dir: dataverse
pid_generator: dataverse
pid_types:
doi: DOI_for_version
generic_uploader: true
packages:
- atom4R
available_options:
depositWithFiles:
def: Indicates if the action is uploading files
class: logical
default: false
publish:
def: Indicates if the action should publish the deposit. Requires 'depositWithFiles' set to TRUE
class: logical
default: false
deleteOldFiles:
def: Indicates if the action should delete old files prior upload new files
class: logical
default: true
update_metadata:
def: For an existing deposit, indicates if metadata elements should be updated
class: logical
default: true
update_files:
def: For an existing deposit, indicates if files should be updated
class: logical
default: true
29 changes: 29 additions & 0 deletions inst/actions/d4storagehub4R_upload_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
id: d4storagehub4R-upload-data
fun: d4storagehub4R_upload_data.R
funders: []
authors:
- name: Emmanuel Blondel
email: [email protected]
maintainer:
name: Emmanuel Blondel
email: [email protected]
types:
- Data upload
def: Upload data/metadata to a D4Science Workspace
target: NA
target_dir: NA
generic_uploader: true
packages:
- d4storagehub4R
available_options:
depositWithFiles:
def: Indicates if the action is uploading files
class: logical
default: false
otherUploadFolders:
def: List of Folders (other than 'data' and 'metadata') to upload and which may contain files which should enrich others actions
class: character
choices: []
add_choices: true
multiple: true
default: NULL
26 changes: 26 additions & 0 deletions inst/actions/dataone_upload_datapackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id: dataone-upload-datapackage
fun: dataone_upload_datapackage.R
funders:
- name: Réseau Zone Ateliers
url: https://www.za-inee.org/
authors:
- name: Emmanuel Blondel
email: [email protected]
maintainer:
orphaned: true
types:
- Data upload
- Data publication
- Metadata publication
- DOI management
def: Uploads a data package to a DataOne metacat node
target: job
target_dir: dataone
pid_generator: dataone
pid_types:
packageId: PackageId
packages:
- mime
- datapack
- dataone
available_options: []
23 changes: 23 additions & 0 deletions inst/actions/eml_create_eml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
id: eml-create-eml
fun: eml_create_eml.R
funders:
- name: Réseau Zone Ateliers
url: https://www.za-inee.org/
authors:
- name: Emmanuel Blondel
email: [email protected]
maintainer:
orphaned: true
types:
- Metadata production
def: Produce an EML metadata object
target: entity
target_dir: metadata
packages:
- EML
- emld
available_options:
subject_taxonomy:
def: Identifier of the subject handling the Taxonomic coverage
class: character
default: taxonomy
63 changes: 63 additions & 0 deletions inst/actions/geometa_create_iso_19110.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
id: geometa-create-iso-19110
fun: geometa_create_iso_19110.R
funders:
- name: R Consortium
url: https://r-consortium.org/
- name: UN-FAO
url: https://www.fao.org
- name: IRD
url: https:/www.ird.fr
- name: INRAE
url: https://www.inrae.fr
authors:
-
name: Emmanuel Blondel
email: [email protected]
maintainer:
name: Emmanuel Blondel
email: [email protected]
types:
- Metadata production
def: Produce an ISO 19110 metadata object and export it to XML
target: entity
target_dir: metadata
packages:
- geometa
available_options:
doi:
def: Add entity DOI - if defined - as metadata identifier and online resource
class: logical
default: false
exclude_attributes:
def: Attributes that should be excluded from the ISO 19110 production
class: character
choices: []
add_choices: true
multiple: true
default: NULL
exclude_attributes_not_in_dictionary:
def: Enable to exclude all attributes/variables not referenced as dictionary/featuretype
class: logical
default: false
exclude_values_for_attributes:
def: Attribute names for which listed values should not be produced
class: character
choices: []
add_choices: true
multiple: true
default: NULL
extra_attributes:
def: Extra attributes to add as feature catalog attributes although not in data
class: character
choices: []
add_choices: true
multiple: true
default: NULL
default_min_occurs:
def: The default min occurs value for feature attributes cardinality
class: integer
default: 0
default_max_occurs:
def: The default max occurs value for feature attribute cardinality
class: numeric
default: Inf
71 changes: 71 additions & 0 deletions inst/actions/geometa_create_iso_19115.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
id: geometa-create-iso-19115
fun: geometa_create_iso_19115.R
funders:
- name: R Consortium
url: https://r-consortium.org/
- name: UN-FAO
url: https://www.fao.org
- name: IRD
url: https:/www.ird.fr
- name: INRAE
url: https://www.inrae.fr
authors:
-
name: Emmanuel Blondel
email: [email protected]
maintainer:
name: Emmanuel Blondel
email: [email protected]
types:
- Metadata production
def: Produce an ISO/OGC 19115 metadata object and export it to XML
target: entity
target_dir: metadata
packages:
- geometa
- ows4R
available_options:
use_uuid:
def: Use UUID as metadata identifier, if not defined the UUID is pre-generated
class: logical
default: false
doi:
def: Add entity DOI - if defined - as metadata identifier and online resource
class: logical
default: false
doi_thumbnail:
def: if option 'doi' is true and this option enabled, a DOI thumbnail will be added
class: logical
default: false
inspire:
def: Validates ISO 19139 metadata with INSPIRE reference validator
class: logical
default: false
logo:
def: Add configure profile logo(s) - if defined - as metadata thumbnail(s)
class: logical
default: false
addfeatures:
def: Add entity data features - if defined - as metadata bounding polygon(s)
class: logical
default: false
featureid:
def: ID of entity data features used to identify bounding polygon(s) with option 'addfeatures'
class: character
default: NA
subject_geography:
def: Identifier of the subject handling a Geographic coverage.
class: character
default: geography
include_service_identification:
def: Include service identification info metadata block
class: logical
default: false
include_coverage_data_dimension_values:
def: Include data dimensions's range values to coverage description
class: logical
default: false
include_coverage_service_dimension_values:
def: Include ogc dimensions's range values to coverage description
class: logical
default: false
64 changes: 64 additions & 0 deletions inst/actions/geonapi_publish_iso_19139.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
id: geonapi-publish-iso-19139
fun: geonapi_publish_iso_19139.R
funders:
- name: UN-FAO
url: https://www.fao.org
- name: IRD
url: https:/www.ird.fr
- name: INRAE
url: https://www.inrae.fr
authors:
- name: Emmanuel Blondel
email: [email protected]
maintainer:
name: Emmanuel Blondel
email: [email protected]
types:
- Metadata publication
def: Publish/Update an ISO/OGC 19139 metadata object with GeoNetwork API
target: entity
target_dir: metadata
packages:
- geometa
- geonapi
available_options:
geometa_inspire:
def: Validates ISO 19139 metadata with INSPIRE reference validator before publication
class: logical
default: false
privileges:
def: Geonetwork privileges to set for the metadata to be published
class: character
choices:
- view
- dynamic
- download
- editing
- notify
- featured
default:
- view
- dynamic
- download
- featured
multiple: true
group:
def: Geonetwork user group to which the metadata should be associated
class: character
default: 2
category:
def: Category of metadata resources to which the metadata record should be associated
class: character
default: datasets
add_metadata_link:
def: Adds a link (as online resource) that points to the published metadata (as OGC CSW GetRecordById URL)
class: logical
default: true
publish_thumbnails:
def: Uploads local thumbnails as attachments and publish them as thumbnails / graphic overviews
class: logical
default: false
create_doi_on_datacite:
def: Creates DOIs on DataCite. Requires a DataCite account to be registered in the GeoNetwork administration panel.
class: logical
default: false
21 changes: 21 additions & 0 deletions inst/actions/geonode4R_publish_ogc_services.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
id: geonode4R-publish-ogc-services
fun: geonode4R_publish_ogc_services.R
funders:
- name: IRD
url: https:/www.ird.fr
authors:
- name: Emmanuel Blondel
email: [email protected]
maintainer:
name: Emmanuel Blondel
email: [email protected]
types:
- Data upload
- Data publication
- Metadata publication
def: Publish data to GeoNode OGC web-services (WMS/WFS/WCS)
target: NA
target_dir: NA
packages:
- geonode4R
available_options: []
Loading

0 comments on commit 52b0627

Please sign in to comment.