pxweb (version 0.9.1)

test_pxweb_api: Test a full or a part of an pxweb api.

Description

The function can be used to test a whole pxweb api by using the api base url. By using a branch in a tree the api is tested below this branch.

Usage

test_pxweb_api(url, download_all = FALSE,
  seed = as.integer(Sys.time()))

Arguments

url

The base url to the pxweb api (or a branch of the metadata tree)

download_all

Should all data be downloaded (TRUE) or sample (FALSE)

seed

Seed to use if download_all is FALSE and a sample is downloaded

Value

Function returns a data.frame with information on each node Two variables are added: checked : The node has been checked error : Whether there were errors encountered with the call download_error : Whether there were errors encountered during download