Skip to content

Commit

Permalink
Update validated_craywatch_map.R
Browse files Browse the repository at this point in the history
  • Loading branch information
margotvermeylen committed Jan 7, 2025
1 parent 4438751 commit fbd0898
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/src/validated_craywatch_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ head(grouped_craywatch_data) # Show the first few rows of the data
# Inspect the structure of the dataset to check for lat/long columns
str(grouped_craywatch_data)

# Nagaan hoeveel mensen exact het protocol volgden
protocol_followers <- grouped_craywatch_data %>%
filter(number_of_days == 4 & consecutive == "TRUE") # locaties waar er exact 4 na elkaar dagen gecontroleerd is

n_distinct(protocol_followers$vrijwillID)

# Filter the data we want to use
craywatch_data_filtered <- grouped_craywatch_data %>%
filter(!is.na(Longitude) & !is.na(Latitude)) %>%
Expand Down

0 comments on commit fbd0898

Please sign in to comment.