Check if a response is a pxweb config response
assert_pxweb_database_list
Assert that x is a correct pxweb_database_list
object.
pxe_metadata_variable_names
Get the meta data variable names from a pxweb_explorer
object.
Coerce a pxweb_data
object to a data.frame
Convert object to json
Get and set pxe_metadata_coices
Add the config slot to a pxweb object
pxe_position_multiple_choice_allowed
Are multiple choices allowed?
Get the table title for the current position
Do a GET call to PXWEB API for advanced users
Defines allowed input for a position in a pxweb_explorer
or character object.
Get the url to a table
Handle a user input for a pxweb_explorer
object.
Move in the pxweb_explorer
position
Add an api call to a pxweb_api_s3 object
Is the current position a metadata object?
Return the pxweb object at the current position
Interface to PX-WEB APIs from R
Get the PXWEB API catalogue
Compute the dimension of the query pxweb_data
object
pxe_position_is_full_query
Is the current position a full query (i.e. choices for all metadata variables)?
assert_pxweb_input_allowed
Assert a pxweb_input_allowed
object
pxweb_data_column_comment
Construct a pxweb_data_comment
object
Find and download data interactively from a PXWEB API
Generate batch permutations
Parse a character string or throws error if it fails
Setup a structure to log all API calls
Get (allowed) inputs for a pxweb_input_allowed
object.
Build the url to a PXWEB api
Construct a pxweb_data_jsonstat
object.
Ask to download and download data
Construct a pxweb_levels
object.
pxe_position_variable_can_be_eliminated
Can the variable at the current position be eliminated?
Generate permutations of dimensions to find optimal no of batches
pxweb_add_mandatory_variables
Add mandatory variables to query
pxweb_query_dim_splittable
Get vector indicating splittable variables
Print code to download query
Split query in optimal sub-queries
Combine pxweb objects
Convert a pxweb data objects values to valuetext
print.pxweb_api_catalogue_entry
Print a catalogue entry
Get input from user
Get query filter
Get query values
pxweb_add_metadata_to_query
Add and remove metadata to query
Construct a pxweb_database_list
object.
Create a pxweb_explorer
object.
S3 constructor for pxweb
api object.
How many choices has the current position?
pxe_position_is_api_catalogue
Is the current position an api_catalogue position?
Add the subpath slot to a pxweb path slot
Print a pxweb_query
object as R code
pxweb_api_catalogue_entry
Constructor for pxweb_api_catalogue_entry
.
Cite a PXWEB data object
pxweb_validate_query_with_metadata
Validate a pxweb_query
with a pxweb_metadata
object
Construct a pxweb_data_comments
object.
Taken from trimws
for reasons of compatibility with previous R versios.
Do a GET call to PXWEB API
Compue the dimension of the query
split_dimensions_left_right
Split variables into chunks
Combine pxweb objects
Fix url characters
Construct a pxweb_data
object.
Pad a string to a fixed size
Get the api name, rootpath, subpath, path or dbpath
Convert a pxweb_query
object to a json
string
Get query filter
pxweb_test_create_api_paths
Create all paths from a list of pxweb_api_catalogue entries
Create a PXWEB query
Clear cache of all (or one) pxweb
object
Construct a pxweb_metadata
object.
Test time limit object
Save and load pxweb
objects from R temp folder
Get boolean vector
pxweb_metadata_add_null_values
Add values to NULL value variables in PXWEB metadata objects
Parse the response from a PXWEB API (advanced)
pxweb_get_api_test_data_frame
Build api test data.frame
Test a full or a part of a PXWEB api.
Do a GET call to PXWEB API and return a data.frame
Compue the dimension of a metadata object
Setup temorary directory for the pxweb
pxweb_metadata_elimination
Get boolean vector
Add default values to pxe
Build the url to get the config from a PXWEB api
Assert that the url structure is correct
Defunct functions
Assert that x is a correct pxweb_database_list
object.
Assert that x is a correct pxweb_data
object.
assert_pxweb_data_comments
Assert that x is a correct pxweb_data_comments
object.
build_pxweb_rda_file_path
Build or get the tmp_rda_file_path from an url or pxweb_api_s3 object
Assert a pxweb_query object
assert_pxweb_data_jsonstat
Assert that x is a correct pxweb_data_jsonstat
object.
Assert a json-stat version 1.0 or later object
assert_pxweb_api_catalogue
Assert a pxweb_api_catalogue
object
Assert that the rda_file_path is correct
Assert that the config slot is correct
assert_pxweb_rda_file_path
Assert that the rda_file_path is correct
Assert that x is a correct pxweb_levels
object.
http_was_redirected
Assert that the url structure is correct
Assert that x is a correct pxweb_metadata
object.
assert_query_can_be_split_to_batches
Assert that a given pxweb query can be split