Skip to content

Commit

Permalink
#33 update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Oct 28, 2019
1 parent 41a0aca commit 00f02ad
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
19 changes: 18 additions & 1 deletion doc/documentation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,24 @@ The metadata part is the section of the workflow configuration where to define t

Whether is for _entities_ or _contacts_, the configuration consists in declaring the ``source`` (a file or URL) and the ``handler``, ie the source format.

The sources of _entities_ and _contacts_ can be handled for different ``handlers`` (for the timebeing ``gsheet`` - for Google spreadsheets, ``csv`` or ``excel`` files). The list of ``entity`` and ``contact`` handlers can be retrieved in R with ``list_entity_handlers()`` and ``list_contact_handlers()``. For the time being, [geoflow](https://github.com/eblondel/geoflow) provides basic format handlers.
The sources of _entities_ and _contacts_ can be handled for different ``handlers`` (for the timebeing ``gsheet`` - for Google spreadsheets, ``csv``, ``excel`` files, or a ``dbi`` source). The list of ``entity`` and ``contact`` handlers can be retrieved in R with ``list_entity_handlers()`` and ``list_contact_handlers()``. For the time being, [geoflow](https://github.com/eblondel/geoflow) provides basic format handlers.

* List of ``entity`` handlers supported by geoflow:

```{r, echo = FALSE, message = FALSE, results = 'asis'}
library(knitr)
kable(geoflow::list_entity_handlers(), caption = "List of entity handlers supported by geoflow")
```

* List of ``contact`` handlers supported by geoflow:

```{r, echo = FALSE, message = FALSE, results = 'asis'}
library(knitr)
kable(geoflow::list_contact_handlers(), caption = "List of contact handlers supported by geoflow")
```


> Note: The list of handlers is expected to be extended in the future, eg LDAP handler for contacts.
Expand Down
28 changes: 25 additions & 3 deletions doc/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,35 @@ declaring the `source` (a file or URL) and the `handler`, ie the source
format.

The sources of *entities* and *contacts* can be handled for different
`handlers` (for the timebeing `gsheet` - for Google spreadsheets, `csv`
or `excel` files). The list of `entity` and `contact` handlers can be
retrieved in R with `list_entity_handlers()` and
`handlers` (for the timebeing `gsheet` - for Google spreadsheets, `csv`,
`excel` files, or a `dbi` source). The list of `entity` and `contact`
handlers can be retrieved in R with `list_entity_handlers()` and
`list_contact_handlers()`. For the time being,
[geoflow](https://github.com/eblondel/geoflow) provides basic format
handlers.

- List of `entity` handlers supported by geoflow:

| id | definition |
| :----- | :-------------------------------------------------------------- |
| csv | Handle metadata entities from a CSV file |
| excel | Handle metadata entities from a Microsoft Excel (xls,xlsx) file |
| gsheet | Handle metadata entities from a Google spreadsheet |
| dbi | Handle metadata entities from a DB source |

List of entity handlers supported by geoflow

- List of `contact` handlers supported by geoflow:

| id | definition |
| :----- | :-------------------------------------------------------------- |
| csv | Handle metadata contacts from a CSV file |
| excel | Handle metadata contacts from a Microsoft Excel (xls,xlsx) file |
| gsheet | Handle metadata contacts from a Google spreadsheet |
| dbi | Handle metadata contacts from a DB source |

List of contact handlers supported by geoflow

> Note: The list of handlers is expected to be extended in the future,
> eg LDAP handler for contacts.
Expand Down

0 comments on commit 00f02ad

Please sign in to comment.