Skip to content

Commit

Permalink
Updated open_codebook() helper function to rely on develop branch o…
Browse files Browse the repository at this point in the history
…n GitHub
  • Loading branch information
henriquesposito committed Sep 3, 2024
1 parent 86f20e3 commit b80d394
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
## Package

- Updated documentation for `get_urgency()` to include more details about urgency scores
- Updated internal data and added a data raw folder to increase transparency
- Updated internal data and data raw files to increase transparency

## Functions

- Updated `get_urgency()` and `gather_topics()` to open codebooks for urgency or topic when no arguments are declared
- Updated urgency scores in `get_urgency()` according to survey results.
- Added `sim_urgency()` function to simulate urgent priorities
- Updated `select_priorities()` to be more strict and accurate about selection of priorities

# poldis 0.1.1

Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ thisRequires <- function(pkgname){
# Helper function to get urgency or topics codebook.
open_codebook <- function(codebook = "urgency") {
thisRequires("cli")
url <- "https://github.com/henriquesposito/poldis/inst"
url <- "https://github.com/henriquesposito/poldis/tree/develop/inst"
if (codebook == "urgency") {
tryCatch({
utils::browseURL(paste0(url, "/urgency_codebook.pdf"),
Expand Down

0 comments on commit b80d394

Please sign in to comment.