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