View source: R/sidfex.targettable.update.R
sidfex.targettable.update | R Documentation |
Update position information in SIDFEx target table, using either a manual version or the file where recent position data is missing or an earlier version including (possibly outdated) position data.
sidfex.targettable.update(targettable.manual=NULL, targettable.out=NULL, download.obs=TRUE, data.path=NULL, download.obs.onlyactive=FALSE)
targettable.manual |
|
targettable.out |
|
download.obs |
a logical value specifying whether or not to download the latest versions of the observational data first. Default is |
data.path |
|
download.obs.onlyactive |
a logical value specifying whether or not to download (if |
a data frame with the updated SIDFEx target table.
If run with targettable.manual=NULL
, make sure that you have the latest version of the SIDFEx package. Otherwise, the manual target table used as input might be outdated, that is, new targets and/or information on discarded targets might be missing.
Be aware that the data used to extract the latest position data might be outdated if you run this function with download.obs=FALSE
.
Helge Goessling
targettable = sidfex.targettable.update(targettable.out="~/SIDFEX_targettable_autoupdate.txt", download.obs=FALSE)
# the argument 'download.obs' has been set 'FALSE' to make sure that the
# example works without internet conncetion; should usually be 'TRUE'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.