build_gnaf | R Documentation |
data.table
object.Builds G-NAF into a flat data.table
object.
build_gnaf( setup = gnaf_setup_data, simple = FALSE, drop_empty_vars = TRUE, drop_date_variables = TRUE, missing = "", concatenate = TRUE, add_geo_coordinate = TRUE, add_meshblock_years = NULL, add_locality_alias_variants = FALSE, add_alias_links = FALSE, verbose = TRUE )
setup |
defining the default |
simple |
A logical argument to remove (potentially) unused, technical fields. Default is |
drop_empty_vars |
A logical argument to remove empty fields. Default is |
drop_date_variables |
A logical argument to remove date (creation / retire / modification) fields. Default is |
missing |
A character or NA to determine what empty (missing) observations should be. Default is |
concatenate |
A logical argument to add determine if a full address string should be
constructed. Default is |
add_geo_coordinate |
A logical argument to add geographical coordinate latitude and longitude fields. Default is |
add_meshblock_years |
A character string specifying which meshblock years to add. Default
is |
add_locality_alias_variants |
A logical argument to include locality alias variants. Default is |
add_alias_links |
A logical argument to allow inclusion of primary id on alias addresses. Default is |
verbose |
A logical argument to verbose. Default is |
Returns a flat data.table
object of Australian (G-NAF) address information.
Kyle Haynes, kyle@kylehaynes.com.au.
# Update
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.