project_list | R Documentation |
While the API endpoint will return all projects,
project_list
will fail with incorrect or missing
authentication.
project_list(
url = get_default_url(),
un = get_default_un(),
pw = get_default_pw(),
retries = get_retries(),
orders = get_default_orders(),
tz = get_default_tz()
)
url |
The ODK Central base URL without trailing slash. Default: Set default See |
un |
The ODK Central username (an email address).
Default: |
pw |
The ODK Central password.
Default: |
retries |
The number of attempts to retrieve a web resource. This parameter is given to Default: 3. |
orders |
(vector of character) Orders of datetime elements for lubridate. Default:
|
tz |
A timezone to convert dates and times to. Read |
A tibble with one row per project and all project metadata as columns as per ODK Central API docs.
https://docs.getodk.org/central-api-project-management/#listing-projects
Other project-management:
project_create()
,
project_detail()
## Not run:
# See vignette("setup") for setup and authentication options
# ruODK::ru_setup(svc = "....svc", un = "me@email.com", pw = "...")
pl <- project_list()
knitr::kable(pl)
# project_list returns a tibble
class(pl)
# > "tbl_df" "tbl" "data.frame"
# columns are project metadata
names(pl)
# > "id" "name" "forms" "app_users" "created_at" "updated_at"
# > "last_submission" "archived"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.