[R] How to load data from Statistics Canada

guox at ucalgary.ca guox at ucalgary.ca
Wed May 20 21:53:55 CEST 2009

Yes, XML can help load HTML tables.
As we knew, tables in Bureau of Labor Statistics (http://www.bls.gov/)
can be displayed in HTML and can also be loaded directly using their urls,
for example, ftp://ftp.bls.gov/pub/time.series/wp/
I was wondering if tables in Statist Canada have such locations so that we
load them directly. Thanks,

> guox at ucalgary.ca wrote:
>> We would like to load data from Statistics Canada
>> (http://www.statcan.gc.ca/) using R,
>> for example, Employment and unemployment rates.
>> It seems to me that the tables are displayed in HTML.
>> I was wondering if you know how to load these tables. Thanks,
>> -james
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> Hi James,
> I believe a similar issue was covered recently in the following thread:
> http://www.nabble.com/import-HTML-tables-td23504282.html#a23517322
> If this is not what you need, please go into more details as to what the
> issue at hand may be.
> HTH,
> --
> *Luc Villandré*
> /Biostatistician
> McGill University Health Center -
> Montreal Children's Hospital Research Institute/

More information about the R-help mailing list