Skip to content

Import live, refreshable data from Wikipedia into Microsoft Excel and Google Sheets.

License

Notifications You must be signed in to change notification settings

flexiodata/functions-wikipedia

Repository files navigation

Wikipedia Google Sheets & Excel Spreadsheet Add-on

Wikipedia is an open-source online encyclopedia which provides a database of articles on an extensive range of topics. This Wikipedia spreadsheet integration for Google Sheets and Microsoft Excel enables you to import data from Wikipedia, to enrich lists of people and organizations. This add-on will enable you to integrate on-demand, refreshable encyclopedia data without leaving your spreadsheet.

For example, with this Excel and Google Sheets add-on you can:

  • Enrich a list of topics in your spreadsheet using the description from the first line of the most likely Wikipedia article related to the topic.
  • Import data to enrich a list of people in your spreadsheet with information about them, such as a description, gender, birth name, birth and death date, citizenship, residence and occupation.
  • Extract data to enrich a list of organizations in your spreadsheet with information about them, such as a description, website, motto, inception, country and social media handles, like Twitter, Instagram, Reddit and Bloomberg.

Here are some examples:

=FLEX("YOUR_TEAM_NAME/wikipedia-enrich-description", "Yellowstone National Park")
Yellowstone National Park is an American national park located in Wyoming, Montana, and Idaho.
=FLEX("YOUR_TEAM_NAME/wikipedia-enrich-people", "J.S. Bach", "label, description, birth_date, citizenship")
Johann Sebastian Bach German composer and musician of the Baroque era +1685-03-21T00:00:00Z Saxe-Eisenach

Prerequisites

The Wikipedia spreadsheet functions are powered by Flex.io. To use these functions, you'll need:

Installing the Functions

Once you've signed up for Flex.io and have the Flex.io Add-on installed, you're ready to install the function pack.

You can install these functions directly by mounting this repository in Flex.io:

  1. Sign in to Flex.io
  2. In the Functions area, click the "New" button in the upper-left and select "Function Mount" from the list
  3. In the function mount dialog, select "GitHub", then authenticate with your GitHub account
  4. In the respository URL box, enter the name of this repository, which is "flexiodata/functions-wikipedia"
  5. Click "Create Function Mount"

If you prefer, you can also install these using the Flex.io Wikipedia Integration.

Using the Functions

Once you've installed the function pack, you're ready to use the functions.

  1. Open Microsoft Excel or Google Sheets
  2. Open the Flex.io Add-in:
    • In Microsoft Excel, select Home->Flex.io
    • In Google Sheets, select Add-ons->Flex.io
  3. In the Flex.io side bar, log in to Flex.io and you’ll see the functions you have installed
  4. For any function, click on the “details” in the function list to open a help dialog with some examples you can try at the bottom
  5. Simply copy/paste the function into a cell, then edit the formula with a value you want to use

Documentation

Here are some additional resources:

  • Wikipedia Function Documentation. Here, you'll find a list of the functions available, their syntax and parameters, as well as examples for how to use them.
  • Flex.io Add-ons. Here, you'll find more information about the Flex.io Add-ons for Microsoft Excel and Google Sheets, including how to install them and use them.
  • Flex.io Integrations. Here, you'll find out more information about other spreadsheet function packs available.

Help

If you have question or would like more information, please feel free to live chat with us at our website or contact us via email.

License

This project is licensed under the MIT License. See the LICENSE file for details.