Resources

Collective Service Documentation

GeoPoll

Data Cleaning: Steps to Clean Data

Description

This guidance provides a detailed overview of the different steps to clean data which is vital to ensure validity and reliability.


Additional languages

No items found

DETAILS

Publication

2021

Authors

GEOPOLL

Emergency

Language

English

Region

Keywords

FAQ, Social Science Tools, data management

document.addEventListener("DOMContentLoaded", function() { // Check if the div with class 'cbt-resources' exists if (document.querySelector('.cbt-resources')) { // Select all carousel items var carouselItems = document.querySelectorAll('.wdcl-carousel-item a'); // Loop through each item carouselItems.forEach(function(item) { // Find the image inside the anchor var img = item.querySelector('img'); // Get the alt text var altText = img.getAttribute('alt'); // Create the h4 element var h4 = document.createElement('h4'); h4.textContent = altText; // Insert the h4 element after the image item.insertBefore(h4, img.nextSibling); }); } });