Learn R Programming

trud (version 0.2.0)

get_subscribed_metadata: Get metadata for subscribed NHS TRUD items

Description

A convenience wrapper around trud_items() and get_item_metadata(), retrieving metadata for only items that the user is subscribed to. This is particularly useful for seeing what data you can download with download_item(). If you need access to additional items, browse available options with trud_items(), then subscribe through the NHS TRUD website.

Usage

get_subscribed_metadata(release_scope = c("all", "latest"))

Value

A tibble, with item metadata stored in the list column metadata. Use the item_number column values with download_item().

Arguments

release_scope

Which releases to retrieve metadata for. Use "all" to get all releases, or "latest" to get only the most recent release.

See Also

  • trud_items() to browse all available items

  • get_item_metadata() for detailed metadata on specific items

  • download_item() to download items you're subscribed to