odata_svc_parse: Retrieve URL, project ID, and form ID from an ODK Central...

View source: R/ru_setup.R

odata_svc_parseR Documentation

Retrieve URL, project ID, and form ID from an ODK Central OData service URL.

Description

[Stable]

Usage

odata_svc_parse(svc)

Arguments

svc

(character) The OData service URL of a form as provided by the ODK Central form submissions tab. Example: "https://URL/v1/projects/PID/forms/FID.svc"

Value

A named list with three components (all of type character):

  • url The ODK Central base URL.

  • pid The project ID.

  • fid The form ID.

See Also

Other ru_settings: parse_odkc_version(), ru_settings(), ru_setup(), semver_gt(), semver_lt(), yell_if_error(), yell_if_missing()


dbca-wa/ruODK documentation built on March 20, 2024, 12:19 p.m.