Skip to content

Commit

Permalink
Merge branch 'gh-pages' of https://github.com/OHI-Science/ohiprep_v2024
Browse files Browse the repository at this point in the history
… into gh-pages
  • Loading branch information
annaramji committed Sep 5, 2024
2 parents 151de9b + 27b9a17 commit c9ccf98
Show file tree
Hide file tree
Showing 2 changed files with 469 additions and 481 deletions.
8 changes: 4 additions & 4 deletions globalprep/prs_res_wgi/v2024/WGI_dataprep.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ editor_options:
chunk_output_type: console
---

[REFERENCE RMD FILE](http://ohi-science.org/ohiprep_v2022/globalprep/prs_res_wgi/v2023/WGI_dataprep.html)
[REFERENCE RMD FILE](http://ohi-science.org/ohiprep_v2024/globalprep/prs_res_wgi/v2024/WGI_dataprep.html)

# Summary
This script downloads WGI data and prepares it for a pressures (1 - WGI) and resilience data layer.
Expand All @@ -33,7 +33,7 @@ This script downloads WGI data and prepares it for a pressures (1 - WGI) and res

**Downloaded**:

October 2, 2023 (source data updated Sep 2023)
August 28, 2024 (source data updated Sep 2023)

**Description**:
The Worldwide Governance Indicators (WGI) project reports aggregate and individual governance indicators for 215 economies over the period 1996–2022, for six dimensions of governance:
Expand Down Expand Up @@ -125,8 +125,8 @@ key_corrp = WDI(

Combine the indicators into a single table, with a column for each indicator, and rows for each country-year pair.

```{r}
wgi_raw <- read.csv(here("globalprep/prs_res_wgi/v2023/raw/P_Data_Extract_From_Worldwide_Governance_Indicators.csv"))
```{r, eval=FALSE}
wgi_raw <- read.csv(here::here("globalprep/prs_res_wgi/v2023/raw/P_Data_Extract_From_Worldwide_Governance_Indicators.csv"))
d <- wgi_raw %>%
clean_names() %>%
Expand Down
Loading

0 comments on commit c9ccf98

Please sign in to comment.