Analytics

Working with weighted survey data in Power BI

If you’re working with weighted quantitative data, statistical software like SPSS (and its open source counterpart PSPP) have easy built-in functionality to handle the weights. But it’s less straightforward if you’re working in other programs, so this quick tutorial shows how to complete basic calculations with weighted survey data in Power BI. For this tutorial, […]

Read More
analytics

Passing clean meta tag data to Google Analytics

What this does: Cleans text from meta tags using basic JavaScript to pass to Google Analytics reports Requirements: Google Analytics deployed through Tag Manager, understanding of regular expressions & JavaScript, admin access to Google Analytics Over the years I’ve found one of the more useful tools in Google Analytics is the ability to pass custom […]

Read More
python data analysis concept

Python for Marketers: Pulling data from the NPI registry

What this is for: Extracting bulk data from the NPI registry and downloading as CSV Requirements: Knowledge of JSON, Pandas dataframes Concepts covered: Making an API request, flattening JSON, combining dataframes Download: Download the Jupyter notebook If you work with health care provider data, you are no doubt familiar with NPI (National Provider Identifier) data. […]

Read More
python data analysis concept

Python for Marketers: Forecasting future seasonal data

What this is for: Forecasting seasonal data Requirements: Python Anaconda distribution, Understanding of statistics and experience with machine learning Concepts covered: Calucating confidence intervals and forecasting future values with pmdarima library Download the Jupyter notebook One of the more helpful applications of data science to marketing is developing forecasts. You can use forecasts to predict […]

Read More
python data analysis concept

Textual analysis of Facebook comments using Python

What this is for: Collecting comments from a public Facebook page and performing a basic content analysis Requirements: Python Anaconda distribution, basic understanding of HTML structure and Chrome inspector tool Concepts covered: Social listening, word clouds For anyone who works in strategic communications, it’s critical that you have a finger on the pulse of your […]

Read More
analytics

Segmenting pageviews by age and gender

Google Analytics’ Demographics report can provide a wealth of valuable data about the users of your website, including age, gender, interests and affinity categories. One of the cool but lesser known features of Google Analytics is the ability to create pivot tables with your web data. In this quick tutorial, we’ll make a simple pivot […]

Read More
python data analysis concept

Python for Marketers: Making Selenium web scraper click on links

What this is for: Telling a Selenium web scraper to click on link or enter basic information into a form Requirements: Python Anaconda distribution, Basic knowledge of HTML structure and Chrome Inspector tool Concepts covered: Selenium Selenium is an incredibly useful tool for scraping websites with Python, but occasionally your scraper may need to interact […]

Read More