| 82 | == loadObservations == |
| 83 | |
| 84 | ''__Description'' |
| 85 | |
| 86 | Loads observational station data from standard station datasets stored in ''.csv'' files |
| 87 | |
| 88 | ''__Usage'' |
| 89 | |
| 90 | {{{ |
| 91 | loadObservations(source.dir, var, standard.vars=TRUE, stationID, startDate=NULL, endDate=NULL) |
| 92 | }}} |
| 93 | |
| 94 | ''__Arguments'' |
| 95 | |
| 96 | * `source.dir`: Character string indicating the full path to the directory where the data are stored (see Details). |
| 97 | * `var`: Character string indicating the variable to load. |
| 98 | * `standard.vars`: Logical. Default to `FALSE`. If `TRUE` a dictionary must be available (see Details) |
| 99 | * `stationID`: Character string indicating the identification code of the station. |
| 100 | * `startDate`: Optional character string in the form "Year-month-day" (e.g. `"1950-01-01"`) indicating the starting day of the time series to retrieve. Default to first record available. |
| 101 | * `endDate`: Optional character string in the form "Year-month-day" (e.g. `"2000-12-31"`) indicating the last day of the time series to retrieve. Default to last record available. |
| 102 | |
| 103 | |
| 104 | ''__Details'' |
| 105 | |
| 106 | This function works with standard ''.csv'' observational datasets. |
| 107 | |
| 108 | The dictionary is the table that translates the variable as stored in the dataset to the standard variables defined in the vocabulary. More details [https://www.meteo.unican.es/trac/meteo/wiki/SpecsEuporias/RPackage/ here] |
| 109 | |
| 110 | |
| 111 | ''__Value'' |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | == loadData == |
| 120 | |
| 121 | ''__Description'' |
| 122 | |
| 123 | ''__Usage'' |
| 124 | |
| 125 | ''__Arguments'' |
| 126 | |
| 127 | ''__Details'' |
| 128 | |
| 129 | ''__Value'' |
| 130 | |
| 131 | |
| 132 | |