get_wq_location_metadata.RdThis function takes in a station and returns the metadata for the discrete_envirodata source type.
It first gets the station_id using the get_monitoring_feature_id function, and then makes a GET request to the API
to get the details of the station. It then filters the response to find the FeatureDataSources that
have SourceType equal to "discrete_envirodata" and returns the metadata of that source.
get_wq_location_metadata(stations)A character vector representing the station ids.
A list containing the metadata for the discrete_envirodata source type.
metadata <- get_wq_location_metadata(c("station1"))