Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh repo #91

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions R/icd_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,6 @@ icd_get_chapter <- function(linearization = c("mms", "icf"),
## Return response ----
resp
}



2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ From here, the plan is to continue developing functions that wrap the various av

## Installation

`codigo` is not yet on CRAN but can be installed from the [Oxford IHTM R universe](https://oxfordihtm.r-universe.dev) as follows:
`codigo` is not yet on CRAN but can be installed from the [Oxford IHTM R-universe](https://oxfordihtm.r-universe.dev) as follows:

```{r install-r-universe, eval = FALSE}
install.packages(
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ endpoints](https://id.who.int/swagger/index.html).

## Installation

`codigo` is not yet on CRAN but can be installed from the [Oxford IHTM R
universe](https://oxfordihtm.r-universe.dev) as follows:
`codigo` is not yet on CRAN but can be installed from the [Oxford IHTM
R-universe](https://oxfordihtm.r-universe.dev) as follows:

``` r
install.packages(
Expand Down Expand Up @@ -154,9 +154,9 @@ citation provided by a call to the `citation()` function as follows:
citation("codigo")
#> To cite codigo in publications use:
#>
#> Anita Makori and Ernest Guevarra (2024). codigo: Interface to the
#> International Classification of Diseases (ICD) API. R package version
#> 0.0.9000. URL https://oxford-ihtm.io/codigo/
#> Anita Makori, Ernest Guevarra (2024). _codigo: Interface to the
#> International Classification of Diseases (ICD) API_. R package
#> version 0.0.9000, <https://oxford-ihtm.io/codigo/>.
#>
#> A BibTeX entry for LaTeX users is
#>
Expand Down
16 changes: 5 additions & 11 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
citHeader("To cite codigo in publications use:")

citEntry(
entry = "Manual",
bibentry(
bibtype = "Manual",
header = "To cite codigo in publications use:",
title = "codigo: Interface to the International Classification of Diseases (ICD) API",
author = c(person("Anita Makori"), person("Ernest Guevarra")),
year = "2024",
note = "R package version 0.0.9000",
url = "https://oxford-ihtm.io/codigo/",
textVersion = paste(
paste("Anita Makori and Ernest Guevarra (2024).",
"codigo: Interface to the International Classification of Diseases (ICD) API.",
"R package version 0.0.9000.",
"URL https://oxford-ihtm.io/codigo/")
)
url = "https://oxford-ihtm.io/codigo/"
)

3 changes: 3 additions & 0 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ title: codigo

url: https://oxford-ihtm.io/codigo/

development:
mode: auto

template:
bootstrap: 5
bootswatch: litera
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-get.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ testthat::expect_type(icd_get_info(), "list")

## Test icd_get_chapter ----

testthat::expect_type(icd_get_chapter(release = "2023-01"), "list")
testthat::expect_type(icd_get_chapter(), "list")


Expand Down