, but this code // executes before the first paint, when

麻豆区

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); Dust-gathering data converted to useful maps - News & Stories | 麻豆区

麻豆区

Skip to main content

Spark

Dust-gathering data converted to useful maps

Tue, Mar 15, 2016

Over 10 weeks last summer, junior Matt Raybaud took databases of information from other researchers, U.S. Census records, Dutch provincial records and ship manifests and converted them into maps. The resulting 500 maps are a contribution to emeritus professor Henk Aay鈥檚 atlas project, The Atlas of Dutch American History and Culture.

His maps show counties of origin, numbers of immigrants and their destinations, demographics, occupation, location of churches and more.

鈥淢ost of this data is data from the 1980s [when researcher Robert Swierenga collected it]. It had been gathering dust, and no one was really using it,鈥 Aay said. 鈥淏y updating it into readable form for today鈥檚 software, we could make much more use of it, and now we are likely going to post all these databases for everyone to use in the future.鈥

Aay also said that beyond its usefulness for the atlas project, the data Raybaud converted will pay dividends for other researchers.

鈥淚 think what we鈥檝e done here is not only prepared maps for the atlas and for other publications; it has made these databases retain their usefulness in perpetuity.鈥

Read the original article at Calvin News & Stories