Learn R Programming

htsr (version 2.1.6)

d_convert_weewx: Convert a weewx data base into a htsr sqlite base

Description

Convert (or update) a weewx data base into a htsr sqlite base

Usage

d_convert_weewx(
  db.weewx,
  fsq = NA,
  update = TRUE,
  tzo = "Europe/Paris",
  sta = NA,
  name_st = NA
)

Arguments

db.weewx

Full name of the weewx data base

fsq

Full name of the htsr data base

update

(default = TRUE)

tzo

Time zone, Olson syntax (default = "Europe/Paris")

sta

Station id (default = NA)

name_st

Station name (default = NA)

Author

P. Chevallier - Feb 2018 - Jul 2024

Details

If update is TRUE, sta and name_st are unnecessary. I update is FALSE and fsq is NA, fsq is named "weewx.sqlite".

Examples

Run this code
if (FALSE) {

d_convert_weewx("weewx.sql", "foo.sqlite")
}

Run the code above in your browser using DataLab