Skip to content

Commit

Permalink
read in data pilot study
Browse files Browse the repository at this point in the history
  • Loading branch information
wlangera committed Apr 24, 2024
1 parent 1e97c24 commit 7084411
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions source/markdown/verzameling_steekproefkaders_mbag.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ knitr::opts_knit$set(

```{r}
# Packages
library(knitr)
library(tidyverse)
library(sf)
library(nngeo)
library(mapview)
# Conflicting packages
conflicted::conflicts_prefer(dplyr::filter)
Expand All @@ -37,8 +34,7 @@ conflicted::conflicts_prefer(dplyr::lag)
# Source
mbag_dir <- here::here()
source(file.path(mbag_dir, "src", "R", "steekproefkader.R"))
source(file.path(mbag_dir, "src", "R", "berekening_hulpvariabelen.R"))
data_path <- file.path(mbag_dir, "data", "steekproefkaders")
```

# Doel
Expand All @@ -57,7 +53,24 @@ Hiervoor schrijven we voor 4 (groepen van) bestanden weg (als CSV-bestanden):
# Data selectie en preparatie
## Leemstreek & Zandleemstreek

https://github.com/inbo/mas-piloot
Meetnetontwerp voor deze regio's maakte deel uit van de MAS-pilootstudie.
Data selectie en preparatie voor deze regio's werd reeds gedaan in dat project.
De code vind je in [deze repository](https://github.com/inbo/mas-piloot).
We lezen de CSV-bestanden in.

```{r}
# Load sampling frame
steekproefkader_mbag_piloot <- read.csv(
file.path(data_path, "steekproefkader_mbag_piloot.csv"))
# Load samples
steekproef_mbag_piloot <- read.csv(
file.path(data_path, "steekproef_mbag_piloot.csv"))
# Load final samples
steekproef_avimap_mbag_piloot <- read.csv(
file.path(data_path, "steekproef_avimap_mbag_piloot.csv"))
```

## Kempen, Polders & Zandstreek

Expand Down

0 comments on commit 7084411

Please sign in to comment.