CINXE.COM

IPUMS AHTUS: vars by group

<!DOCTYPE html> <html lang="en"> <head> <title> IPUMS AHTUS: vars by group </title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="icon" href="/favicon.ico"> <style> @font-face { font-family: "Cabrito Sans Subset"; } @font-face { font-family: "Cabrito Sans"; } </style> <link type="text/css" rel="stylesheet" href="//assets.ipums.org/_css/font-faces.1.2.css" media="all" /> <link rel="stylesheet" href="/ahtus-action/assets/datapage-13c99e2fc28902f176379e18aaa9abb86bf492b2eb35b1f8ffe10d9636d8750c.css" /> <link rel="stylesheet" href="/ahtus-action/assets/controller/variables-64d578fe3f096171f749dbf5fd9d14b01d24f5e13d3e5842186cc169f4c13427.css" /> <link rel="stylesheet" href="/ahtus-action/assets/project/ahtus-81dbcbe98b13e41ea819736064f31374946cafbeef33b4718e9e242ea28b3d46.css" /> <script src="/ahtus-action/assets/application-12b20f85b95acbeb81acad8e35f424199afe0fdd870c666315be8d67735adc42.js"></script> <script type="text/javascript" src="//assets.ipums.org/_js/ffo/fontfaceobserver.js"></script> <script type="text/javascript" src="//assets.ipums.org/_js/load-fonts.1.3.js"></script> <script src="/ahtus-action/assets/unbundled/structure-b252eb18d0b540e213f04bf34a5e25a4ee07b1221337f4fba72cab468c54cc97.js"></script> <script type="text/javascript"> // global form state vars used by some modals JS like in _extract_structure_popup.html.erb var initial_focal_record_type; var initial_file_type; var isHier; var initial_include_sibling_records; $(document).ready(function () { // Form state change validations StructureWarnings.warningsContainer = $(".data-struct-warnings"); initial_focal_record_type = $("input[name='extract_request[focal_record_type]']:checked").val(); initial_file_type = $("input[name='extract_request[file_type]']:checked").val(); isHier = (initial_file_type == "hierarchical"); initial_include_sibling_records = $("input[name='extract_request[include_sibling_records][]']:checked").val(); $("input.file_type, input.focal_record_type, input.include_sibling_records").on("change", function(event, ui) { StructureWarnings.clearAll(); // Warn about dropped variables when switching from hierarchical if (isHier && (CART_STATE.user_selected_hierarchical_rectypes.length > 0) && event.target.className != "include_sibling_records") { if (event.target.value !== 'hierarchical') { CART_STATE.user_selected_hierarchical_rectypes.forEach(function (rectype) { StructureWarnings.add(rectype); }) } } // Warn that MEPS round variables dropped when switching from any other data structure type to "rectangular on person" var default_rectype = $("input.focal_record_type").first().data("rectype"); var rectangularize_rectypes = $("input.focal_record_type:checked").map(function() {return $(this).data("rectype");}).get(); var removed_rectypes = $(CART_STATE.user_selected_child_focal_rectype).not(rectangularize_rectypes).get(); if (removed_rectypes.length > 0 && $(event.target).data("rectype") === default_rectype) { removed_rectypes.forEach(function(rectype){ StructureWarnings.add(rectype); }); } // Warn of dropping hierarchical_siblings when unselecing sibling-records. Relevant to Eldercare record in ATUS var sibling_rectypes = $("input.include_sibling_records:checked").map(function() {return $(this).data("rectype");}).get(); var removed_rectypes = $(CART_STATE.user_selected_sibling_rectype).not(sibling_rectypes).get(); if (removed_rectypes.length > 0) { removed_rectypes.forEach(function(rectype){ StructureWarnings.add(rectype); }); } if (CART_STATE.any_event_summary_variables && (event.target.value === 'rec_up')) { StructureWarnings.add("Event Summary"); console.log(event.target.value); } }); // Displaying of info for wide structure $("#rec_up_info").bind("click", function () { $("#rec_up_info_content").toggle(); }); }); </script> <script type="text/javascript"> let extractStructureDialog; $(document).ready(function() { //// Creation of the dialog window $("#btnChangeExtractFileType").click(function(){ extractStructureDialog = $("#extract_file_type_radio_container").dialog({ appendTo: "#canvas", modal:true, width: 505, draggable: false, title: "Extract Data Structure", closeOnEscape: false, closeText: "", open: function(event, ui) { $(".ui-widget-content .sectionHeader").remove(); }, close: function() { StructureWarnings.clearAll(); $("input[name='extract_request[focal_record_type]'][value='" + initial_focal_record_type + "']").prop('checked', true); $("input[name='extract_request[file_type]'][value='" + initial_file_type + "']").prop('checked', true); $("input[name='extract_request[include_sibling_records][]'][value='" + initial_include_sibling_records + "']").prop('checked', true); } }); }); $("#data-struct-form-cancel").click(function () { if (extractStructureDialog) { extractStructureDialog.dialog("close"); } }); }); </script> <script type="text/javascript"> function setDefaults() { if (true) { $('#preferences_country_codes_long').prop("checked", true); } else { $('#preferences_country_codes_short').prop("checked", true); } if (true) { $('#preferences_survey_groups_long').prop("checked", true); } else { $('#preferences_survey_groups_short').prop("checked", true); } if (true) { $('#preferences_variable_group_view_one').prop("checked", true); } else { $('#preferences_variable_group_view_all').prop("checked", true); } if (true) { $('#preferences_variable_display_view_detail').prop("checked", true); } else { $('#preferences_cvariable_display_view_summary').prop("checked", true); } if (true) { $('#preferences_unharmonized_names_long').prop("checked", true); } else { $('#preferences_unharmonized_names_short').prop("checked", true); } if (true) { $('#preferences_variable_availability_view_available').prop("checked", true); } else { $('#preferences_variable_availability_view_all').prop("checked", true); } if (false) { $('#preferences_variable_based_sample_selection_enabled').prop("checked", true); } else { $('#preferences_variable_based_sample_selection_disabled').prop("checked", true); } if (true) { $('#preferences_variable_sort_order_ipums_default').prop("checked", true); } if (false) { $('#preferences_sample_sort_order_descending').prop("checked", true); } else { $('#preferences_sample_sort_order_ascending').prop("checked", true); } } </script> <script type="text/javascript"> $(document).ready(function() { //// Creation of the dialog window $("#btnChangeDisplayOptions").click(function(){ $("#new_preferences input#return_url").val(window.location.href); $("#display_options_contents").dialog({ appendTo: "#canvas", modal:true, width: 505, position: { my: "center top", at: "center top+15", of: window }, draggable: false, title: "Display Options", closeOnEscape: false, closeText: "", open: function(event, ui) { } }); return false; }); }); </script> <meta name="csrf-param" content="authenticity_token" /> <meta name="csrf-token" content="UOOaLq9mJErirIEZFUKVVTwHW_QYXMbIOwYESrysFciQJgo_RVtYOvOJFE9qXkhcpWG4bsuX32n-gfLcxGnitQ" /> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-NCPQL8M');</script> <!-- End Google Tag Manager --> </head> <body id="ahtus" class="datapage"> <div id="canvas"> <div id="noscript-msg"> <noscript> <p><strong>Alert:</strong> Portions of this website require JavaScript to function properly.<br /> Please enable Javascript in your browser. Thank you.</p> </noscript> </div> <nav id="user_bar"> <ul class="list-menu"> <!-- this list will stack right to left --> <li><a href="https://www.ipums.org" class="external_link_icon">ipums.org</a></li> <li><a href="https://timeuse.ipums.org" class=external_link_icon>Time Use</a></li> <li><a href="/ahtus-action/menu">Register</a></li> <li id="logInLink" style="display: inline;"><a href="/ahtus-action/sso_login?return_url=https%3A%2F%2Fwww.ahtusdata.org%2Fahtus-action%2Fvariables%2Fgroup">Log in</a></li> </ul> </nav> <div id="header" class="line"> <div id="logoitem" class="item"> <div class="sap-content"> <!--prevents redraw bug in IE--> <div id="title" class="replace"> <a href="https://timeuse.ipums.org">IPUMS AHTUS<span></span></a> </div> </div> </div> </div> <div id="navline" class="line"> <div id="primary_nav" class="item"> <div class="sap-content"> <div id="project_top_menu"> <ul> <li class="subproject_button"><a href="https://www.atusdata.org">ATUS</a></li> <li class="subproject_button"><a href="https://www.ahtusdata.org" class="current">AHTUS</a></li> <li class="subproject_button"><a href="https://www.mtusdata.org">MTUS</a></li> </ul> <p class="projectSubtitle">American Heritage Time Use Study Extract Builder</p> </div> <ul> <li><a href="https://timeuse.ipums.org">HOME</a></li> <li><a href="/ahtus-action/variables/group">Select Data</a></li> <li><a href="/ahtus-action/data_requests/download">My Data</a></li> <li><a href="/ahtus/support.shtml">Support</a></li> </ul> </div> </div> </div> <div id="dcsWrapper"> <div id="dcs" class="empty"> <h2>Data Cart</h2> <h3>Your data extract</h3> <table id="dcscart"> <tr><td class='number'>0 </td><td class='label'>variables</td></tr> <tr><td class='number'>0 </td><td class='label'>time use variables</td></tr> <tr><td class='number'>0 </td><td class='label'>samples</td></tr> </table> <a id="dcsButton" class="viewcart replace" href="/ahtus-action/extract_requests/variables">View Cart</a> </div> <script type="text/javascript"> if (typeof CART_STATE !== 'undefined') { CART_STATE.user_selected_hierarchical_rectypes = [] CART_STATE.user_selected_child_focal_rectype = [] CART_STATE.user_selected_sibling_rectype = [] CART_STATE.any_event_summary_variables = false } </script> </div><!-- end #dcsWrapper --> <div id="main" class="line nomenu"> <!--content--> <div id="maincontent" class="item"> <div class="sap-content"> <div class="content"> <div id="flashContainer"></div> <script type="text/javascript"> $(document).ready(function() { }); </script> <!-- BEGIN PLACING PAGE CONTENT --> <div id="menu_canvas"> <div class="menu_canvas_subgroup"> <a id="btnSelectSamples" class="button" style="margin-left: -25px" href="/ahtus-action/samples">Select Samples</a> </div> <div class="menu_canvas_subgroup"> <div id="variablesMenu" class="with-4-roots"> <ul class="sf-menu" id="menu-header"> <li> <a>Select Variables</a> </li> </ul> <ul class="sf-menu with_4_roots" id="menu"> <li id="menu-p"><a href="javascript:void(0);">Person</a><ul><li><a href="/ahtus-action/variables/group?id=tech">Technical Person</a></li> <li><a href="/ahtus-action/variables/group?id=demog">Core Demographic</a></li> <li><a href="/ahtus-action/variables/group?id=geography">Geography</a></li> <li><a href="/ahtus-action/variables/group?id=household">Household characteristics</a></li> <li><a href="/ahtus-action/variables/group?id=work_stat">Work Status</a></li> <li><a href="/ahtus-action/variables/group?id=income">Income</a></li> <li><a href="/ahtus-action/variables/group?id=weight">Weights</a></li></ul></li> <li id="menu-a"><a href="javascript:void(0);">Activity</a><ul><li><a href="/ahtus-action/variables/group?id=episode">Episode details</a></li> <li><a href="/ahtus-action/variables/group?id=with_who">Who else is present during activity</a></li></ul></li> <li><a href="javascript:void(0);">Time Use</a><ul><li><a href="/ahtus-action/time_use_variables/group/2">Activity coding structure</a></li> <li><a href="/ahtus-action/time_use_variables/user">My Time Use Variables</a></li></ul></li> <li id="menu-search" class="last"><a href="/ahtus-action/variables/search">Search</a></li> </ul> </div> <a id="btnCreateUserVar" class="button" style="margin-left: 12px" href="/ahtus-action/time_use_variables/select_template">Create time use variable</a> </div> <div class="menu_canvas_subgroup"> <!-- only show rectangular/hierarchical if a project's max rectangular depth is less than the number of record types in its hierarchy --> <div style="display: inline-block"> <div id="extract_file_type_radio_container" class="radioButtonContainer" style="display: none"> <form class="edit_extract_request" id="edit_extract_request_3794391" action="/ahtus-action/extract_requests/set_file_type" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="NL9sGr2v3b-TbBu8rhvANOYXfZrSyrPHx2hR-qcHei2-SePeYxaUWWyC4jLpWcyjeWKyQSzKaOAGXgq00qjHbA" autocomplete="off" /> <div class="sectionHeader">Data Structure</div> <div class="sectionContent" style="font-size: 16px;"> <div id="rectangular_file_type"> <input class="file_type" type="radio" value="rectangular" checked="checked" name="extract_request[file_type]" id="extract_request_file_type_rectangular" /> <label for="extract_request_file_type_rectangular">Rectangular</label> <div style="margin-left: 15px"> <input class="focal_record_type" data-rectype="Person" type="radio" value="1" checked="checked" name="extract_request[focal_record_type]" id="extract_request_focal_record_type_1" /> <label for="extract_request_focal_record_type_1">person (default)</label> <input class="focal_record_type" data-rectype="Activity" type="radio" value="2" name="extract_request[focal_record_type]" id="extract_request_focal_record_type_2" /> <label for="extract_request_focal_record_type_2">activity</label> </div> </div> <div id="hierarchial_file_type"> <input id="hierarchical_radio" class="file_type" type="radio" value="hierarchical" name="extract_request[file_type]" /> <label for="hierarchical_radio">Hierarchical</label> <div style="margin-left: 15px"> </div> </div> </div> <div class="data-struct-warnings"></div> <button type="button" id="data-struct-form-cancel">cancel</button> <button>apply selections</button> </form></div> </div> <a id="btnChangeExtractFileType" class="button gray_button" href="#">Change Data Structure</a> <div style="display: inline-block"> <div id="display_options_contents" class="radioButtonContainer" style="display: none"> <form class="new_preferences" id="new_preferences" action="https://www.ahtusdata.org/ahtus-action/view_preferences/update_preferences" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="patch" autocomplete="off" /><input type="hidden" name="authenticity_token" value="IPqR6GaoQmawBczYQGm4G3yx5-tMZq7c4XR2ZAHS_ifLKFSPLGtJfxBaN6JydCvCJllHawGqIbv_mCbQ_vR2Jg" autocomplete="off" /> <input type="hidden" name="return_url" id="return_url" value="/ahtus-action/variables/group" autocomplete="off" /> <p> Variable groups:<br/> <input class="option" type="radio" value="ONE" checked="checked" name="preferences[variable_group_view]" id="preferences_variable_group_view_one" /> <label for="preferences_variable_group_view_one">Display one at a time.</label><br/> <input class="option" type="radio" value="ALL" name="preferences[variable_group_view]" id="preferences_variable_group_view_all" /> <label for="preferences_variable_group_view_all">Show all groups together.</label> </p> <p> Variable availability information:<br/> <input class="option" type="radio" value="DETAIL" checked="checked" name="preferences[variable_display_view]" id="preferences_variable_display_view_detail" /> <label for="preferences_variable_display_view_detail">Display details.</label><br/> <input class="option" type="radio" value="SUMMARY" name="preferences[variable_display_view]" id="preferences_variable_display_view_summary" /> <label for="preferences_variable_display_view_summary">Summarize.</label> </p> <p> Variables that are not available for the selected samples:<br/> <input class="option" type="radio" value="AVAILABLE" checked="checked" name="preferences[variable_availability_view]" id="preferences_variable_availability_view_available" /> <label for="preferences_variable_availability_view_available">Do not display.</label><br/> <input class="option" type="radio" value="ALL" name="preferences[variable_availability_view]" id="preferences_variable_availability_view_all" /> <label for="preferences_variable_availability_view_all">Display.</label> </p> <p> Variable display order<br/> <input class="option" type="radio" value="IPUMS_DEFAULT" checked="checked" name="preferences[variable_sort_order]" id="preferences_variable_sort_order_ipums_default" /> <label for="preferences_variable_sort_order_ipums_default">IPUMS default.</label><br/> <input class="option" type="radio" value="NO_OF_SAMPLES_DESC" name="preferences[variable_sort_order]" id="preferences_variable_sort_order_no_of_samples_desc" /> <label for="preferences_variable_sort_order_no_of_samples_desc">Sort by number of samples.</label><br/> <input class="option" type="radio" value="MNEMONIC_DESC" name="preferences[variable_sort_order]" id="preferences_variable_sort_order_mnemonic_desc" /> <label for="preferences_variable_sort_order_mnemonic_desc">Sort alphabetically.</label><br/> </p> <p> Ordering of sample columns:<br/> <input class="option" type="radio" value="ASCENDING" checked="checked" name="preferences[sample_sort_order]" id="preferences_sample_sort_order_ascending" /> <label for="preferences_sample_sort_order_ascending">Chronological.</label><br/> <input class="option" type="radio" value="DESCENDING" name="preferences[sample_sort_order]" id="preferences_sample_sort_order_descending" /> <label for="preferences_sample_sort_order_descending">Reverse chronological.</label> </p> <button name="button" type="button" onclick="setDefaults();">Restore Defaults</button> <input type="submit" name="commit" value="Apply selections" data-disable-with="Apply selections" /> </form> </div> <style> /*Overrides for .ui-widget button. This style is only the popup-specific*/ #display_options_contents button{ font-size: 14px; } </style> </div> <a id="btnChangeDisplayOptions" class="button gray_button" href="#">Display options</a> </div> <div class="menu_canvas_subgroup"> <div id="menu_canvas_misc"> <a target="_blank" class="external_link_icon" style="width: 29px;" href="/ahtus-action/faq#ques24">Help</a> </div> </div> </div> <div id="startHereInstructions" class=""> Select <b>samples</b> and <b>variables</b> to build a data extract. </div> <!-- END PLACING PAGE CONTENT --> </div> </div> </div> <!-- end maincontent --> </div> <!-- end main (line 3) --> <div id="footerline" class="line"> <div class="item" id="footer"> <div class="sap-content"> <div id="firstFooter"> <div id="fundedBy"> <p> Supported by: <a href="http://www.nichd.nih.gov/">Eunice Kennedy Shriver National Institute of Child Health and Human Development</a>, <a href="http://www.stattransfer.com/">Stat/Transfer</a>, <a href="https://www.popcenter.umd.edu/">Maryland Population Research Center</a>, <a href="http://www.timeuse.org/">Centre for Time Use Research at the University College London</a>, and <a href="http://umn.edu/">University of Minnesota</a>. </p> </div> </div> <div id="secondFooter"> <p>Copyright &copy; <a href="http://www.pop.umn.edu">Minnesota Population Center</a>, <a href="http://www.umn.edu">University of Minnesota</a>.</p> </div> </div> </div> </div> <!-- end footer (line 4) --> </div> <!-- end canvas --> <!-- hidden form field to ensure (w/handle_back_button.js that AJAX-y elements are reloaded from the server when arriving on a page via the back button --> <input id="reloadValue" type="text" style="display:none;" name="reloadValue" value="" /> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10