d_create: Create a data base

View source: R/d_create.R

d_createR Documentation

Create a data base

Description

Create htsr sqlite data base

Usage

d_create(fsq, cr_table = TRUE, bku = TRUE)

Arguments

fsq

Full name of the data base

cr_table

Create the basis tables : TRUE (default), FALSE

bku

Operate a backup if fsq exists : TRUE (default) / FALSE

Details

If the data base already exists and bku is TRUE, a backup is automatically generated.

If cr_table is TRUE, The following tables are also created: ST (stations), SS (sensors), WL (water levels), DI (discharges), PR (Precipitations), WE (weather) and QU (quality)

Value

a new data base

Author(s)

P. Chevallier - Jan 2019


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