show_datacodes {AustralianPoliticians}R Documentation

Produce and send to console a tibble of the data request codes and associated datasets.

Description

'show_datacodes()' produces a tibble of the arguments used with the 'get_ausdata()' function and the associated datasets.

Usage

show_datacodes(limit = 4)

Arguments

limit

A numeric value used to determine the number of values returned. Default is set to four (4) values, which returns all tibble values.

Details

Items under *Request Codes* can be used to request and download the associated Australian Politicians dataset.

The specifics of these are:

- '"all"' australian_politicians-all.csv. - '"allbyparty"' australian_politicians-all-by_party.csv. - '"mps"' australian_politicians-mps-by_division.csv. - '"senators"' australian_politicians-senators-by_state.csv.

Value

A console printout of a tibble with a designated number of values set by limit.

See Also

'get_auspol()' function help.

Examples

## Not run: 
# Print out dataset request codes.
show_datacodes()

# Request "All" Australian Politicians dataset.
get_auspol("all")

## End(Not run)


[Package AustralianPoliticians version 0.1.0 Index]