show_available_files: Helper function to show the files available in a particular...

Description Usage Arguments Details Value See Also Examples

View source: R/show_available_files.r

Description

To be used in conjunction with get_abs_data_cube().

Usage

1
2
3
show_available_files(catalogue_string, refresh = FALSE)

get_available_files(catalogue_string, refresh = FALSE)

Arguments

catalogue_string

character string specifying the catalogue, e.g. "labour-force-australia-detailed". You can use show_available_catalogues() see all the possible catalogues, or search_catalogues() to find catalogues that contain a given string.

refresh

logical; 'FALSE' by default. If 'FALSE', an internal table of the available ABS catalogues is used. If 'TRUE', this table is refreshed from the ABS website.

Details

This function lists the possible files that are available in a catalogue. The filename (or an unambiguous part of the filename) must be specified as a string as an argument to download_abs_data_cube.

'get_available_files()' is an alias for 'show_available_files()'.

Value

A tibble containing the title of the file, the filename and the complete url.

See Also

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

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

Examples

1
2
3
4
## Not run: 
show_available_files("labour-force-australia-detailed")

## End(Not run)

readabs documentation built on May 24, 2021, 9:06 a.m.