Commit 403bdd8
Adapt R doc examples for get_combined_metadata, fix data_type values
Ported three additional examples from R's read_waterdata_combined_meta
that aren't redundant with the ones we already had:
- Groundwater well — surfaces water-level and aquifer columns that the
surface-water example shows as nulls.
- State + county — common area-of-interest workflow.
- Two-step "inventory then fetch" chain — get_combined_metadata to find
what's available in a HUC, then get_continuous to pull the actual
observations at every site found.
Also corrected the data_type description: the live API returns
"Continuous values" and "Daily values" (with the word "values"), not
"Continuous" / "Daily" as the docstring previously claimed. Verified
against api.waterdata.usgs.gov.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f12deff commit 403bdd8
1 file changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1042 | 1042 | | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | | - | |
| 1045 | + | |
| 1046 | + | |
1046 | 1047 | | |
1047 | 1048 | | |
1048 | 1049 | | |
| |||
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
1109 | | - | |
| 1110 | + | |
1110 | 1111 | | |
1111 | 1112 | | |
1112 | 1113 | | |
1113 | 1114 | | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
1114 | 1126 | | |
1115 | 1127 | | |
1116 | 1128 | | |
| |||
1129 | 1141 | | |
1130 | 1142 | | |
1131 | 1143 | | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1132 | 1158 | | |
1133 | 1159 | | |
1134 | 1160 | | |
| |||
0 commit comments