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.
Arguments
- url
The base url to the pxweb api (or a branch of the metadata tree)
- test_type
What type of test should be done. The
first
observation of each table. A randomsample
of sizen
. Download allfull
tables.touch
the api by only downloading the first table metadata. This is minimal testing of the API.- n
sample size if
test_type
issample
.- verbose
The function will print information.
- time_limit
Time limit in second the API is allowed to be tested.