get_geos: Get geographical data from GitHub

View source: R/concord_geos.R

get_geosR Documentation

Get geographical data from GitHub

Description

[Experimental] This function queries my personal GitHub and returns concorded geographic data. It is used to concord geographies in concord_geos, and can be used to get basic meshblock information like category or population estimate.

Usage

get_geos(cols = NULL)

Arguments

cols

(unquoted character vector; default = NULL) the columns to select. They mostly follow the pattern of geo_name_year or geo_code_year, but see details for a full list. If NULL all available columns are returned.

Details

Available columns include ASGS, LGA, UCL, SUA, GCCSA, RA, CED and SED, and more:

  • mb_code_2016

  • mb_category_name_2016

  • sa1_maincode_2016

  • sa1_7digitcode_2016

  • sa2_maincode_2016

  • sa2_5digitcode_2016

  • sa2_name_2016

  • sa3_code_2016

  • sa3_name_2016

  • sa4_code_2016

  • sa4_name_2016

  • gccsa_code_2016

  • gccsa_name_2016

  • state_code_2016

  • state_name_2016

  • ucl_code_2016

  • ucl_name_2016

  • sosr_code_2016

  • sosr_name_2016

  • sos_code_2016

  • sos_name_2016

  • sua_code_2016

  • sua_name_2016

  • lga_code_2018

  • lga_name_2018

  • poa_code_2016

  • ced_code_2018

  • ced_name_2018

  • sed_code_2020

  • sed_name_2020

  • ra_code_2016

  • ra_name_2016

  • area_albers_sqkm

  • dwellings

  • persons

Value

a tibble with as the columns you asked for the as many rows as needed to fulfil that request (i.e. up to 358,122 rows). Note that dplyr::distinct() is called before returning the results (to minimise redundant results).

Examples

## Not run: 

get_geos(cols = c(
  mb_category_name_2016,
  area_albers_sqkm,
  ced_name_2018,
  persons
))

## End(Not run)


baslat/sak documentation built on April 14, 2025, 4:14 p.m.