d_exp_hts: Extraction of a time-series from htsr data base

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/d_exp_hts.R

Description

The function extracts a time-series in the "hts" format. It products a "tibble" table with four columns : Date, Value, Station, Sensor. It is the default format of the package. The function f_convert converts it in Excel or csv format.

Usage

1
d_exp_hts(fsq, sta, sen, rtime = FALSE, dstart, dend, rplot = FALSE)

Arguments

fsq

Full name of the data base

sta

Station id.

sen

Sensor id.

rtime

Reduce time interval TRUE / FALSE (default)

dstart

Start date YYYY-MM-DD (default: start date of the ts)

dend

End date YYYY-MM-DD (default: end date of the ts)

rplot

Plot the extracted file TRUE / FALSE (default)

Details

For a step by step operation the function ds_exp_hts is more convenient.

Value

The function returns:

Author(s)

P. Chevallier - oct 2017 - dec 2019

See Also

ds_exp_hts manual settings of the parameters

Examples

1
2
3
4
5
6
7
## Not run: 

f <- d_exp_hts("foo.sqlite","M","station","sensor")



## End(Not run)

htsr documentation built on Jan. 3, 2022, 5:10 p.m.