xml_xtab_for: Download xml xtab data from url, tag with code for caching...

Description Usage Arguments

Description

Download xml xtab data from url, tag with code for caching useful for older (2006) data that does not come as csv option

Usage

1
2
xml_xtab_for(code, url, refresh = FALSE, time_value = NA, temp = NA,
  system_unzip = FALSE)

Arguments

code

The statcan table code, needed for caching and for locating the table to extract

url

The url to the xml table download. Only needed if the table is not cached, but reommended to always include for reproducibility

refresh

Will refresh cached data if set to TRUE, default is FALSE

time_value

If set, will use this as the time variable, otherwise extract the time variable from the data. Setting this will slightly speed up the parsing.

temp

A path to the downloaded xml zip file. Useful if file has already been downloaded and should not be downloaded again.


mountainMath/cancensusHelpers documentation built on May 8, 2019, 11:58 p.m.