How to Import Data from a URL

CODAP can import data from the Internet if the data is configured correctly. The webpage must be pointing to a CSV file hosted online. Cases need to be in rows, and the attributes (or variables) need to be in columns. It’s best if the first row consists of attribute names. The page can contain other text, such as information about its source or descriptions of its attributes.

CODAP cannot import data in PDF format or in the form of images. The page you import needs to be the one that has data on it. There are two methods to import data from a URL:

Drag URLs Into CODAP (Method 1)

  1. On your computer, go to CODAP.
  2. Click on the Create a New Document button.
  3. Drag a URL into CODAP.
  4. If the import worked, the data should display as a case table.

Import a URL Into CODAP (Method 2)

  1. In CODAP's main screen, click the ≡ menu and select Import.
  2. Click on the "URL" tab.
  3. Click inside the dashed box. 
  4. Select the URL you want to import and select Open.
  5. If the import worked, the data should display as a case table.

After importing, look at the data in a case table to see whether it came in properly. Often you have to do a little formatting before the collection is right.

Not all Web pages are in a format CODAP can decipher. You could paste your data in a word processing or spreadsheet program to clean it up, then import into CODAP. Google Sheets can be imported via their URLs into CODAP, so long as the permissions are set so that anyone with the link can view, comment on, or edit the document.

Was this Article Useful? 

Add new comment

Comments are closed for the CODAP Help site. If you have a question or problem, please post on the CODAP Help Forum instead. Thank you.