Parameters Bản_mẫu:SCref

The following parameters will be used to build the reference.

codeThis is Statistics Canada's code that uniquely identifies each geographical or statistical entity for which we want to consult census data. This can be obtained in various ways, for instance by looking at the value of Code1= or GC= in the URL of the corresponding Statistics Canada web page, or from the "How to Cite" information listed at the bottom of each document (see examples in Sample usage section).yearThe year of the census. The default value is 2011. Valid years are 2001, 2006, 2011, 2016; however, not all types of data are available from Statistics Canada for some years.typeThe type of source for the data. The default value is prof for profile. Valid entries are:
  • proffor Census Profiles (for valid years, see below under unit)
  • fogfor Focus on Geography outlines (2011 only, and only for unit = PR, CMA or CSD
unitThe type of unit for which the reference is being created. Valid entries for type=prof (profile) are:
  • pr or PR for a province or territory (2001, 2006, 2011)
  • cma or CMA for a census metropolitan area or census agglomeration (2001, 2006, 2011)
  • cd or CD for a census division (2001, 2006, 2011)
  • csd or CSD for a census subdivision (2001, 2006, 2011)
  • popc or POPC for population centres (2011 only); requires code2 to be set (use the code for the respective province)
  • er or ER for an economic region (2011 only)
  • use this if year=2011 and code is one of the 17 administrative regions of Quebec (note: 2011 code values differ from 2006's)
  • hr or HR for a health region (2001, 2006 only)
  • use this if year=2006 and code is one of the 17 administrative regions of Quebec (note: 2006 code values differ from 2011's)
  • fed or FED for a federal electoral district (2011 only)
  • dpl or DPL for a designated place (2011 only)

Optional parameters

code2Normally, you should not need to specify this. Use only if you know what you're doing.The Statistics Canada code for the containing unit or province (given as Code2 in the URL. The codes are:two digits for a province, such as "35" for OntarioIf unspecified, the defaults are:the first two digits of code, if unit is other than "cma", "pr", "popc"the value 01 (Canada), if unit is "cma", "pr", "popc"If specified, you should set it to the corresponding province, eg, for Toronto CMA, code=535 and code2 can be set to 35 for Ontario)nameSpecify the name of the reference. This is useful when using the reference as a citation for multiple statements.

Tài liệu tham khảo

WikiPedia: Bản_mẫu:SCref http://www12.statcan.gc.ca/census-recensement/2006... http://www12.statcan.gc.ca/census-recensement/2006... http://www12.statcan.gc.ca/census-recensement/2006... http://www12.statcan.gc.ca/census-recensement/2006... http://www12.statcan.gc.ca/census-recensement/2006... http://www12.statcan.gc.ca/census-recensement/2006... http://www12.statcan.gc.ca/census-recensement/2011... http://www12.statcan.gc.ca/census-recensement/2011... http://www12.statcan.gc.ca/census-recensement/2011... http://www12.statcan.gc.ca/census-recensement/2011...