View source: R/ch_get_ECDE_metadata.R
ch_get_ECDE_metadata | R Documentation |
Reads the file that is generated from ECDE 'save favourite stations' to capture the ECDE metadata. The dataframe returned contains 20 fields from ECDE.
ch_get_ECDE_metadata(filename, writefile = NULL)
filename |
The name of the ECDE file, FavHydatStations.tb0. |
writefile |
Default is |
Returns a dataframe consisting of:
Station |
StationID |
StationName |
Station Name |
HYDStatus |
Active or Discontinued |
Prov |
Province |
Latitude |
|
Longitude |
|
DrainageArea |
km^2 |
Years |
Number of years with data |
From |
Start Year |
To |
End Year |
Reg. |
Regulated? |
Flow |
If TRUE/Yes flow data exists |
Level |
If TRUE/Yes level data exists |
Sed |
If TRUE/Yes sediment data exists |
OperSched |
Operations current - Continuous or Seasonal |
RealTime |
If TRUE/Yes real time data is available |
RHBN |
If TRUE/Yes the stations is in the reference hydrologic basin network |
Region |
Name of regional office operating station |
Datum |
Elevation datum |
Operator |
Operator or provider of the data |
Paul Whitfield <paul.h.whitfield@gmail.com>
# Not tested by check() as requires downloaded file filename <- "FavHydatStations.tb0" meta0 <- ch_get_ECDE_metadata(filename) meta1 <- ch_get_ECDE_metadata(filename, writefile="study52_metadata.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.