- Allow wildcard versioning of data sets, e.g. "*" to get the latest possible, or "1.*" to get the latest within a major version.
- Updated output data parsing to convert geographic_levels to human friendly text
- Updated API base URLs for each environment to planned live ones.
- Added
searchparameter toget_publications()to allow filtering on publication title text. - Cleaned up behaviour of
query_dataset()to only use geographies as a parameter, rather than geographies, locations and geographic_levels. - Moved all background functions to be internal.
- Added a specific warning message that warns if no rows are returned from a valid query.
- Optimisation to parsing of JSON responses in
query_dataset() - Rename
download_dataset()topreview_dataset()and set default n_max to 10 - Move test data and examples across to the EES test environment data sets
- Minor tweaks and improvements to the documentation
- Added parsing of SQIDs in retrieved data to provide human readable content
- Created function,
download_dataset(), to connect to csv endpoint for downloading data set csv file - Added first draft of example workflow for querying a data set
- Created capacity to query data using POST:
query_dataset(): Now defaults to using POST instead of GETpost_dataset(): Sends a query of a data set, either using a json file, json string or parameters
- Updated how
example_id()works to allow more complex examples
- Created initial
query_dataset()function that queries a data set usingget_dataset() - Created
get_dataset()function that queries a data set using GET and URL parameters - Updated
get_meta()to work with new API meta output (addition of id alongside col_name and label) - Removed redundant function:
parse_meta_filter_columns() - Hex logo added for documentation
- Creating publication querying functions:
get_publication_catalogue(): Retrieve the list of available publicationsget_publication_datasets(): Retrieve the list of available data sets in a given publicationexample_id(): Provide example publication and data set IDs (largely for example code and testing)api_url_pages(): Render string to set paging on API query resultseesapi_url()->api_url(): Name change to function and updated to allow publication and data set URLswarning_max_pages(): Check for the query page number exceeding the total query pages available- Added some test data and a process for maintaining that data
- Added the
validate_family of validation helpers
- Creating meta data retrieval and parsing functions:
get_meta(): primary function for retrieving parsed R-friendly meta dataget_meta_response(): underlying function for retrieving meta data without full parsingparse_meta_location_ids(): convert location data from initial meta response to simple data frameparse_meta_filter_columns(): create data frame of filter col_name and label from initial meta responseparse_meta_filter_item_ids(): convert filter item data from initial meta response to simple data frameparse_meta_indicator_columns(): create data frame of indicator col_name and label from initial meta responsehttp_request_error(): render the API url for a give endpoint / data set combination