Skip to content

Commit

Permalink
fix update dhis2 link
Browse files Browse the repository at this point in the history
  • Loading branch information
amanyiraho committed Oct 27, 2024
1 parent ac18518 commit 4e8a579
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions vignettes/dhis2r.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ library(dhis2r)
Connect to the DHIS2 instance using `Dhis2r$new()`

```{r}
dhis2_play_connection <- Dhis2r$new(base_url = "https://play.dhis2.org/",
dhis2_play_connection <- Dhis2r$new(base_url = "https://play.im.dhis2.org/stable-2-40-5",
username = "admin",
password = "district",
api_version = "2.39.0.1",
api_version_position = "before")
password = "district"
# api_version = "2.41.1",
# api_version_position = "after"
)
```


Expand All @@ -35,7 +36,7 @@ dhis2_play_connection <- Dhis2r$new(base_url = "https://play.dhis2.org/",

```{r}
# [Ways of keeping your user credentials safe](https://solutions.posit.co/connections/db/best-practices/managing-credentials/)
#dhis2_play_connection$get_user_info()
dhis2_play_connection$get_user_info()
```

Get information about the account
Expand Down

0 comments on commit 4e8a579

Please sign in to comment.