Learn R Programming

AustralianPoliticians (version 0.1.0)

show_datacodes: 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.

Value

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

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.

See Also

`get_auspol()` function help.

Examples

Run this code
# NOT RUN {
# Print out dataset request codes.
show_datacodes()

# Request "All" Australian Politicians dataset.
get_auspol("all")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab