Friday, February 1, 2019

Population of Alberta Files

Question:
I need to find the population of a number of municipalities in Alberta by dissemination area.  We are trying to create a map with population of part of Alberta.  The map is a river basin.  We have the shape files for the river basin, but I need the dissemination area data so that the files can be joined. 


Are these available on the DLI site?  I saw some files, but wasn't sure exactly which ones to download.

Answer:
I’ve consulted with subject matter on this one and they gave me the following information:

“The client can use Geosuite for this: https://geosuite.statcan.gc.ca/geosuite/en/index

1.      First, search for the province of Alberta. There will be a dropdown with the results, select it, and press the magnifying glass.

2.      Next, click on DA in the hierarchy chart (highlighted in yellow). A list of all of the DAs in Alberta will be listed below.

3.      You can now export this list and select only the columns needed for your analysis (i.e. DAuid and population). You can add or remove these columns with the Show/Hide columns button.

4.      You can now export your data into a .csv file. Note: If you selected specific columns, choose export selection. If you require all of the data that was first loaded, choose export all.

Monday, January 28, 2019

DB Level Census Data

Question:
I have a grad student and faculty member who want to examine detailed census data at the DB level, from 2016, 2011 (NHS) and 2006, to analyze neighbourhood change over time. They have already looked at the DA level data available in the CHASS Census Analyser, which seems to stop at the DA level.

I know in theory that this data at the DB level would be available to a researcher at the RDC, but I also suspect that one needs a quite well defined research proposal to gain admission to RDC data. At this stage these researchers want to browse the data to see where interesting investigations may be revealed, so I’m not sure they would qualify at this stage for RDC.

I am suspecting that the available census/nhs pumfs would provide no greater granularity than the CHASS system, but I’m not sure of this, so *please* advise me on the best course of action at this point. We have, in the past, had researchers purchase a custom tab for a neighbourhood larger than the DB but smaller than the FSAs, but that might be expensive if a number of neighbourhoods are included in the request. I’m leaning toward sending them to consult at RDC, but am happy to learn from you what else I might do to enable these researchers.

Answer:
I’ve consulted with subject matter to get their opinion on what might be the best course of action and they’ve given me the following:

“The CHASS Census Analyser is not a product supported by STATCAN so we cannot speak to the geography level which is available there. However, the PUMFs would not go beyond DA either.

We would recommend having a look at the standard profiles at the DA level available on our website. From there, if the client would like to narrow down an area it would have to be processed by one of our Data Service Centres.

I’m not familiar with how exactly the RDC would process the request but I assume, they too would need a more directed demand for DBs and reasoning.

Here are some links to the standard DA profiles for the years requested:
2006 [http://www12.statcan.gc.ca/datasets/Index-eng.cfm?Temporal=2006&Theme=-1&VNAMEE=&GA=53087&S=0]
2011 [http://www12.statcan.gc.ca/datasets/Index-eng.cfm?Temporal=2011&Theme=-1&VNAMEE=&GA=53087&S=0]
2016 [http://www12.statcan.gc.ca/datasets/Index-eng.cfm?Temporal=2016&Theme=-1&VNAMEE=&GA=53087&S=0]”

My suggestion would be to a) take a look at these standard profiles and see if they help at all, and if not, b) contact the RDC to see about the possibility of accessing the data through there. If time is of an issue, the custom tabulation route will probably be faster, however more costly.

Friday, January 25, 2019

Ontario Election Data: 1995 & 1999

Question:
I’m seeking shapefiles (or other spatial format) for Ontario election precincts from the 1995 and 1999 provincial elections, as well as poll-by-poll results in any digital format.

I know that the Ontario election districts were the same as FED for the 1999 election, but I’m not sure if that extended to the poll level precincts as well.

A student here wants to map poll-by-poll data for those elections, and we haven’t been able to find digitized data for either boundaries or results from Elections Ontario, the Canada open data portal, Scholars GeoPortal, or UToronto’s data collection for 1995 and 1999. Elections Ontario told the student that “some university libraries might have that data”.

Answer:
Subject matter has responded with the following:

“StatCan does not have any election geographies below the FED level, nor data for results. You could try the Ontario Archives (http://www.archives.gov.on.ca/), or maybe Elections Canada. Also, the provincial gazette of Ontario may cover elections, but I don’t know about that.”

2015 CCHS-Nutrition PUMFs and Master Files

Question:
I have a researcher who is interested in knowing the fruit and vegetable consumption of Canadians and wonders if either the PUMF's or Master Files from the 2015 Canadian Community Health Survey (CCHS)-Nutrition will provide such data. The researcher would ideally like to know the amount consumed (e.g. number of apples), the variety (e.g. what kind of apple?), and whether the food item was organic.  

I have reviewed my notes from the Jan. 30, 2018 webinar on the 2015 CCHS-Nutrition​ and scanned the documentation for the eight files in ODESI. I have also had a quick look at the PUMF's in ODESI. It is clearly a very complex survey! As far as I can tell from the documentation, this type of data and level of detail is not available from the PUMF's. Is that correct? 

​​Slide # 23 from the webinar notes that questions about fruit and vegetable consumption were dropped from the Health Component module of the 2015 CCHS-Nutrition. I wasn't sure how to interpret the following information from the Reference Guide to Understanding and Using the Data:  2015 Canadian Community Health Survey -- Nutrition (June 2017):

"The PUMF for 2015 CCHS-Nutrition will include data on nutrients from foods, a summary of vitamin/mineral supplement use, and the health questionnaire data. Additional data at more detailed levels such as food, ingredient, and recipes along with Canada Food Guide tiers may be included depending upon the file structure and the results from a mandatory confidentiality review.” (p. 41)

If the information is not available from the PUMF's, would it be available through the Master Files which are in the RDC's? Unfortunately, metadata for these Master Files is not yet posted on Statcan's NESSTAR server. 

Answer:
We’ve received the following response from subject matter:

“The CCHS-Annual continues to have the Fruit and Vegetable consumption question module (FVC) as part of their core content asked every year.  The module asks about the frequency of eating fruit in the past month, but doesn’t get into the detail of what fruit.

The 2015 CCHS-Nutrition asked detail about what specific foods are eaten, but only for one day, a 24-hour dietary recall.  The goal of this is to get data on what nutrients are consumed – not to get estimates of what exact foods provide those nutrients.  However, since apples are frequently consumed throughout the population, it is possible to use the survey data to estimate how many apples are eaten on any given day, and the characteristics of people who eat them.  This is not recommended for less frequently consumed foods, say lasagna.

The survey coded each food reported by respondents with Health Canada’s Canadian Nutrient File (CNF) codes, a subset of which are included in the survey documentation known as the FDC file.  This file contains the name description of a food, ingredient or recipe, a code specific to it, and a string of nutrient values for one gram of that food.  The CNF is also available on Health Canada’s website, so the researcher can look at that until the Nesstar metadata are available.  The data are limited to the level of detail available there.  The CNF/FDC file does not have separate entries for any organic versus non-organic foods because there is little difference in the nutrient content. 

For apples, the following information is relevant to the researcher’s questions:

  • There are data related to apples:
    • a general code for apples (summary Bureau of Nutritional Science food group variable FDC_FGR = 40B),
    • various detailed codes (variable FID_FID ) but these only differentiate when the nutrient content is different (e.g. fresh versus canned, dehydrated, frozen).
    • There are no data related to specific varieties of apples (e.g. Spartan versus Gala, McIntosh, Pink Lady) because the differences in nutrients per gram of apple are not statistically important (i.e. the data for all fresh apples would be coded to one code)
    • The code variable FID-FID has to be used in conjunction with the label attached to the code, which are located in two other variables on the FDC file:  FDC_DEN (Food name – CNF – English) and FDC_DFR (Food name – CNF – French).  For example: FID_FID = 1487 FDC_DEN = “Apple, canned, sweetened, sliced, heated” 
  • All of these variables are available in both the master file and the PUMF.  The analysis using the PUMF might be a little easier because the PUMF HS file includes derived variables that aggregate the gram amount of food eaten that day for certain foods, and apple is one of those foods (the variable is BNSD40B – “Gram Weight – Apple”).”

Data on Intentional Self-harm

Question:
I have a researcher who is using data on suicide/intentional self-harm to develop models for prediction and prevention. The CCHS and the DAD has taken them most of the way, but they’re also hoping for aggregate data on whether or not someone who has self-harmed and survived intended to die. Apparently they were able to find this information for Australia, and they’re hoping the same is collected and disseminated in Canada (at the country-wide level). I haven’t been able to find anything. Does anyone know if this data available anywhere?

Answer:
Subject matter has responded with the following:

“The CCHS 2015 – 2016 does include a block of suicide-related questions. This was a theme for this survey. I have attached the questionnaire for the convenience of the client. Kindly have them review the entire SUI block of questions. I think the variables SUI_035 and SUI_040 may speak to their line of questioning. However, the only variables that are available for free through the PUMF are DOSUI, SUI_005 and SUI_010. The client could access data for SUI_035 and SUI_040 through a cost-recovery custom tabulation. 

*Note: The original email contained the CCHS 2015-2016 Questionnaire as an attachment.

Thursday, January 24, 2019

1996 Geographic Attribute File in SPSS

Question:
Does anyone have a SPSS or similar 1996 Geographic Attribute File (GAF) which they could please share as a zip file with us (or the SPSS command file used to prepare this file would be preferred).  As the attached record layout attests, this file has a large number of variables, so this would really save us time.

We are working on a good SPSS syntax file for the 1996 Postal Code Conversion File.  Typically we use GeoSuite for a good labels for Census geography names.  However “GeoRef” 1996 is not 64 bit compatible.

Answer:
There is a record layout in CSV format available in the download zip from the version of the 1996 GAF loaded in the GeoPortal

http://geo1.scholarsportal.info/#r/details/_uri@=3954137243

Not sure if it’s helpful or not, but the spatial data is available in .shp file format (not SPSS).

Census 2016 Data Covering Sign Languages and Demographics

Question:
A researcher would like more detail on demographic characteristics for the use/knowledge of sign languages (mother tongue, language spoken at home, languages understood, and languages most used at work, than is available from the Census 2016 profile or Census 2016 TBTs/data tables), for Ottawa and Gatineau. 

The Census 2016 profile gives us three categories of sign languages: American Sign Language, Quebec Sign Language, and Sign Languages n.i.e. = not included elsewhere / non incluses ailleurs*)

The researcher has a few questions…



1.       More specifics about those sign languages covered under “n.i.e./n.i.a. “?  If more is known, is it possible to either get a partial or complete list of these, and if so, could she get contact information for a custom tabulation (contact information)?

2.       Are there more data tables (or a PUMFJ) to come on socio-demographics (i.e., occupation, education and income) for these three sign languages spoken/mother tongue/understood (at least three as below) for Ottawa and Gatineau?   I found a number of Census 2016 TBTs/data tables with three categories of sign languages for Ottawa and Gatineau (but only with the demographics of age and/or sex … or 100% data I think). 


  • a. 98-400-X2016345  Language Spoken at Home (263), Single and Multiple Responses of Language Spoken at Home (3), Mother Tongue (269) and Age (7) for the Population Excluding Institutional Residents of Canada, Provinces and Territories, Census Metropolitan Areas and Census Agglomerations, 2016 Census    


  • b. 98-400-X2016059  Mother Tongue (269), Knowledge of Official Languages (5), Age (15A) and Sex (3) for the Population Excluding Institutional Residents of Canada, Provinces and Territories and Federal Electoral Districts (2013 Representation Order), 2016 Census


  • c. 98-400-X2016057  Mother Tongue (269), Knowledge of Official Languages (5), Age (15A) and Sex (3) for the Population Excluding Institutional Residents of Census Metropolitan Areas, Tracted Census Agglomerations and Census Tracts, 2016 Census


  • d. 98-400-X2016058  Mother Tongue (269), Knowledge of Official Languages (5), Age (15A) and Sex (3) for the Population Excluding Institutional Residents of Canada and Forward Sortation Areas, 2016 Census Agglomerations

  • e. 98-400-X2016075 Language Spoken Most Often at Home (269), Other Language(s) Spoken Regularly at Home (270) and Age (15A) for the Population Excluding Institutional Residents, Canada, Provinces and Territories, Census Metropolitan Areas and Census Agglomerations


  • f. First Official Language Spoken (7), Language Spoken Most Often at Home (269), Age (15A) and Sex (3) for the Population Excluding Institutional Residents


                           i.      98-400-X2016069 Canada and Forward Sortation Areas

                          ii.      98-400-X2016070 Canada, Provinces and Territories, Census 
                                  Divisions and Census Subdivisions

                         iii.      98-400-X2016071 Canada, Provinces and Territories, Census 
                                  Metropolitan Areas and Census Agglomerations

                         iv.      98-400-X2016072 Census Metropolitan Areas, Tracted Census 
                                  Agglomerations and Census Tracts

                          v.      98-400-X2016073 Canada, Provinces and Territories and Federal  
                                  Electoral Districts (2013 Representation Order)

Thank you for any further suggestions for the researcher to pursue.  We note that she could go back into the 2006 PALS survey in RTRA.  If possible, she’d rather have more current sign language / demographic data tables though.


Answer:
Subject matter has responded with the following:

1.       The Sign Languages, n.i.e. category consists of sign languages that are not Quebec Sign Language or American Sign Language, so for example, the n.i.e category consists of broad responses of “Sign Language”, as well as more specific responses such as Polish Sign Language or Spanish Sign Language. It is not possible to have a custom tabulation with the breakdown of this category.

2.       Any table consisting of the full detailed version of a language variable also has the sign language categories in them. The detailed language variables are with demographic information only. There are also a few language of work tables with detailed variables which show the sign language categories. Here they are:

98-400-X2016094
98-400-X2016095

That said, if you can’t find a table with all the variables you need, you can always request a custom tabulation.

Regarding the PUMF however, the individuals PUMF will be released this winter and it will include variables on language, however I do not believe they will be so detailed as to include the sign language categories.