Skip to content

React components for importing data donation data into the browser

Notifications You must be signed in to change notification settings

kasperwelbers/data-donation-importers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Donation Importers

This repository contains an NPM module for extracting data from Data Download Packages (DDP) (See Araujo et al.). It provides a standardized approach for writing recipes for extracting data from CSV, JSON and HTML files, with support for DDPs in multiple languages. For the majority of DDPs this standardized approach is sufficiently flexible.

Please note that this module is still experimental, and primarily designed for use within our research team. It is currently being used and tested in the DigitalFootprintsLab application. As it has now been successfully used in several studies, the future goal is to properly clean it up and offer it as a modular component that can be used in other data donation applications.

Demo

A demo version can be found here. You can upload a file, folder or zip file, and create an extraction 'recipe'. If the zip file is a Google Takeout package, you can also select one of the example recipes.

Development guide

This repository doubles as containing the NPM module with the importer components, and as a GUI for trying them out and developing recipes. The module parts are in src/lib. The GUI stuff is in src/AppComponents. Run the following terminal comments to install the module and run the GUI.

npm install
npm start

The components can then be exported in src/lib/index.js, and published to NPM. (don't forget to increment version)

npm run build_npm
npm publish

About

React components for importing data donation data into the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published