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
firstobservation of each table. A randomsampleof sizen. Download allfulltables.touchthe api by only downloading the first table metadata. This is minimal testing of the API.- n
sample size if
test_typeissample.- verbose
The function will print information.
- time_limit
Time limit in second the API is allowed to be tested.
