Open meztez opened 1 year ago
# bcdc_search("Wildlife Species Inventory Telemetry Observations")
# Public, nothing after 2015 for Caribou
# Will use as an example
wildlife_telemetry <- bcdc_get_record("6d48657f-ab33-43c5-ad40-09bd56140845") |>
bcdc_query_geodata() |>
filter(SPECIES_CODE %in% c("M-RATA"), OBSERVATION_YEAR >= 2015) |>
collect()
wildlife_telemetry[["timestamp"]] <- wildlife_telemetry$OBSERVATION_DATE +
hours(wildlife_telemetry$OBSERVATION_HOUR) +
minutes(wildlife_telemetry$OBSERVATION_MINUTE)
The public telemetry data does not indicate which timezone it uses. We are assuming UTC, but this should be validated.
@kmaricle Do the limited access wildlife telemetry database have more recent observation than the public one? Latest one in the public one are from 2015.
Public : https://catalogue.data.gov.bc.ca/dataset/wildlife-species-inventory-telemetry-observations-non-sensitive Sensitive : https://catalogue.data.gov.bc.ca/dataset/wildlife-species-inventory-telemetry-observations-all
Auth with bcdata requires an API key. https://github.com/bcgov/bcdata/blob/1a78930895669ab3840033a28af2f544061b69c0/README.Rmd#L99