|
3 | 3 |
|
4 | 4 | See https://api.waterdata.usgs.gov/samples-data/docs#/ for API reference |
5 | 5 |
|
| 6 | +Not sure about avilable site types, characteristics, state codes, or other |
| 7 | +input parameters? Check out the samples data code service API reference: |
| 8 | +https://api.waterdata.usgs.gov/samples-data/codeservice/docs |
| 9 | +
|
6 | 10 | """ |
7 | 11 |
|
8 | 12 | from __future__ import annotations |
@@ -127,16 +131,17 @@ def get_USGS_samples( |
127 | 131 | projects - "project", "projectmonitoringlocationweight" |
128 | 132 | organizations - "organization", "count" |
129 | 133 | activityMediaName : string or list of strings, optional |
130 | | - Name or code indicating environmental medium sample was taken. |
| 134 | + Name or code indicating environmental medium in which sample was taken. |
131 | 135 | Example: "Water". |
132 | 136 | activityStartDateLower : string, optional |
133 | 137 | The start date if using a date range. Takes the format YYYY-MM-DD. |
134 | 138 | The logic is inclusive, i.e. it will also return results that |
135 | | - match the date. |
| 139 | + match the date. If left as None, will pull all data on or before |
| 140 | + activityStartDateUpper, of populated. |
136 | 141 | activityStartDateUpper : string, optional |
137 | 142 | The end date if using a date range. Takes the format YYYY-MM-DD. |
138 | 143 | The logic is inclusive, i.e. it will also return results that |
139 | | - match the date. If left as None, will pull all data before |
| 144 | + match the date. If left as None, will pull all data after |
140 | 145 | activityStartDateLower up to the most recent available results. |
141 | 146 | activityTypeCode : string or list of strings, optional |
142 | 147 | Text code that describes type of field activity performed. |
|
0 commit comments