search_catalogues: Search for ABS catalogues that match a string

View source: R/search_catalogues.R

search_cataloguesR Documentation

Search for ABS catalogues that match a string

Description

[Experimental] Helper function to use with download_abs_data_cube().

download_abs_data_cube() requires that you specify a catalogue. search_catalogues() helps you find the catalogue you want, by searching for a given string in the catalogue names, product title, and broad topic.

Usage

search_catalogues(string, refresh = FALSE)

Arguments

string

Character. A word or phrase you want to search for, such as "labour" or "union". Not case sensitive.

refresh

Logical. FALSE by default. If TRUE, will re-scrape the ABS website to ensure that the list of catalogues is up-to-date.

Value

A data frame (tibble) containing the topic (heading), product title (sub_heading), catalogue (catalogue) and URL (URL) of any catalogues that match the provided string.

See Also

Other data cube functions: download_abs_data_cube(), show_available_catalogues(), show_available_files()

Examples


search_catalogues("labour")

MattCowgill/readabs documentation built on Feb. 2, 2024, 12:03 a.m.