Skip to content

Commit

Permalink
scripts en outputs ordenen
Browse files Browse the repository at this point in the history
  • Loading branch information
margotvermeylen committed Jan 9, 2025
1 parent a83c81a commit 78f795e
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 321 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions R/src/Gereserveerde_locIDs_aanpassen.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ====================================================
# Scriptnaam: Gereserveerde_locIDs_aanpassen.R
# Auteur: Margot Vermeylen
# Datum: 07-01-2025
# Beschrijving:
# Dit script heeft de file localities.csv aangepast na het 2024 Craywatch seizoen.
# Hierdoor stonden enkel de punten waarvan er bruikbare data was op TRUE.
# ====================================================

# lees csv
localities <- read.csv("~/GitHub/craywatch/assets/localities.csv")

Expand Down
13 changes: 11 additions & 2 deletions R/src/Selectie_riparias_locaties.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ====================================================
# Scriptnaam: Selectie_riparias_locaties.R
# Auteur: Margot Vermeylen
# Datum: 08-01-2025
# Beschrijving:
# Dit script maakt een subset van de locaties die in 2025
# bemonsterd zouden kunnen worden en die in Riparias gebied liggen
# ====================================================

library(sf)
library(dplyr)

Expand All @@ -6,7 +15,7 @@ vlaanderen <- st_read("~/GitHub/craywatch/R/data/input/shapefiles/grenzenvlaande
riparias <- st_read("~/GitHub/craywatch/R/data/input/shapefiles/riparias.shp")

# data lezen
locaties_2025 <- read.csv("~/GitHub/craywatch/assets/open_locations.csv")
locaties_2025 <- read.csv("~/GitHub/craywatch/R/data/output/locations/open_locations.csv")

colnames(locaties_2025)

Expand Down Expand Up @@ -44,5 +53,5 @@ locaties_in_riparias_wgs84_df <- st_drop_geometry(locaties_in_riparias_wgs84)
head(locaties_in_riparias_wgs84_df)

# Exporteer de dataset (optioneel)
write.csv(locaties_in_riparias_wgs84_df, "~/GitHub/craywatch/assets/locaties_in_riparias.csv", row.names = FALSE)
write.csv(locaties_in_riparias_wgs84_df, "~/GitHub/craywatch/R/data/output/locations/locaties_in_riparias.csv", row.names = FALSE)

9 changes: 9 additions & 0 deletions R/src/create_craywatch_maps.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ====================================================
# Scriptnaam: create_craywatch_maps.R
# Auteur: Margot Vermeylen
# Datum: 09-01-2025
# Beschrijving:
# Dit script genereert twee Craywatch kaarten met de absence/presence waarnemingen van 2024
# Het script genereert ook de input voor Select_municipalities
# ====================================================

#R - libraries
library(ggspatial)
library(sf)
Expand Down
319 changes: 0 additions & 319 deletions assets/coordinaten_vrijwilligers_2025.csv

This file was deleted.

0 comments on commit 78f795e

Please sign in to comment.