Access Scottish Health and Social Care Open Data


[Up] [Top]

Documentation for package ‘odns’ version 1.0.2

Help Pages

all_packages Details packages available from <opendata.nhs.scot>.
all_resources Provides an overview of all resources available from <opendata.nhs.scot>.
cap_url Produces error if input exceeds 2000 characters.
detect_error Detects http errors and provides enhanced details.
get_data Get data from a resource.
get_resource Get one or more resources or all resources within a package.
nrow_resource Get the number of rows present in a resource.
package_metadata Get metadata for a package.
prep_nosql_query Prepare an API query without SQL.
prep_sql_query Prepare an API query with SQL.
resource_data_items Get a table of available fields and their types for a specified resource.
resource_metadata Get metadata for a resource.
valid_id Basic check of whether the characters in a string is equal to 36