rossyndicate / poudre_sonde_network

MIT License
0 stars 8 forks source link

Automating field notes using mWater #58

Closed SamStruthers closed 1 year ago

SamStruthers commented 1 year ago

mWater is a survey platform used by CU folks to record field note visits. Data is stored in a datagrid associated with a survey on the mWater portal. These data can be downloaded using an API url (mWater api yml) This PR has three main files which all live in the folder mWater_collate:

Dataframes: All notes is everything submitted, sensor_notes is only visits where sensor was interacted with, sampling notes is when water sampling occured.

Actions: save sensor notes to csv in data folder this is how we can maintain a backup of the data from mWater. This code also uses the photo_download and sampling spreadsheet creator functions (described below)

Review Requested:

SamStruthers commented 1 year ago

Thanks for the notes. I'll make some changes to the scripts to make it clear that sensor_notes is what we will be pulling into the QAQC script.

SamStruthers commented 1 year ago

Big Improvement (IMO):

Review Requested:

SamStruthers commented 1 year ago

I added a new file scratch/data_tidying/timelapse_folder_rename.R This is mostly an tool that I will use when I get SD cards from our timelapse cameras. It essentially prompts the user for the site name after showing a picture from the folder in the timelapse_raw folder. Based on the response and the first and last photo in the folder, it renames the folder to match our syntax and then moves said folder to the timelapse_photos folder.

No review required since I will be the main user of this and it does not affect our larger workflow unless anyone feels strongly about this....