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

View source: R/d_convert_weewx.R

d_convert_weewxR Documentation

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)

Details

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

Author(s)

P. Chevallier - Feb 2018 - Jul 2024

Examples

## Not run: 

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

## End(Not run)


htsr documentation built on Sept. 11, 2024, 9:16 p.m.