show_datacodes: Produce and send to console a tibble of the data request...

Description Usage Arguments Details Value See Also Examples

View source: R/show_datacodes.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
## Not run: 
# Print out dataset request codes.
show_datacodes()

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

## End(Not run)

AustralianPoliticians documentation built on Dec. 1, 2021, 1:06 a.m.