amattioc / SDMX

SDMX Connectors
European Union Public License 1.2
85 stars 46 forks source link

Introduce new custom provider for reading local files on disk #125

Closed amattioc closed 7 years ago

amattioc commented 7 years ago

A new custom provider for reading local files stored in a directory would be helpful to manage contingency situations in which the web services provider is unavailable, but the files can be obtained someway.

Only sdmx v2.1 will be supported.

amattioc commented 7 years ago

Done in 0fc85bc8965b5c96b0138f440e712d2e1844dcb7. A new function has been provided in java, R, MATLAB:

addLocalProvider(String provider, String endpoint, String description)

This mechanism is also complemented by the possibility to dump the XML files from the providers to local files:

xml.dump=true xml.dump.prefix=/PATH/TO/LOCAL/XML/FILES

Both mechanisms will be refined in the future.