d_convert_hydraccess: Convert a full Hydraccess database into a new htsr sqlite...

View source: R/d_convert_hydraccess.R

d_convert_hydraccessR Documentation

Convert a full Hydraccess database into a new htsr sqlite database (Windows only)

Description

Because the Hydraccess application only works into a Windows environment, this function cannot be applied on other platforms (Mas OS or Linux). Additionally, the R session must be configured in 32b (see the htsr-package vignette).

Usage

d_convert_hydraccess(fsq, db.hydraccess)

Arguments

fsq

Full name of the sqlite data base

db.hydraccess

Full name of the hydraccess data base

Details

If the specified sqlite data base already exists, a confirmation is requested to overwrite it.

An 32b ODBC Microsoft driver must be configured in the "administrative tools" and installed for the hydraccess data base. The correct functioning can be verified using the sub-function u_test_rodbc(db.hydraccess), which must be successful.

Value

A new or a replaced sqlite htsr data base.

Author(s)

P. Chevallier - Nov 2018-Nov 2020

See Also

ds_inventory for displaying the content of the sqlite data base; ds_exp_hts for extracting a time-series.

Examples

## Not run: 

d_import_hydraccess("foo.sqlite","foo.mdb")

## End(Not run)



htsr documentation built on Oct. 13, 2023, 5:10 p.m.