Skip to content

Study about gender distribution into french national museums collections

License

Notifications You must be signed in to change notification settings

medialab/gender_art

Repository files navigation

Gender Art Project

Add some description here...

Configuration

$cp config.example.py  config.py
$vi config.py

Requirements

$pip install -r requirements.txt
$npm i

Instructions

First download the data as json files:

$python download_all_files.py

Make sure you have a mongo database running on http://localhost:27017 You can use docker for that:

$docker-compose up

Or alternatively MongoDB with these two steps:

$mongod --dbpath "your\path\to\db"
$mongo

Then insert the data into a mongodb:

$node dataToMongo-splitfiles.js

Scripts Descriptions

download_all_files.py

A script to connect to API and download the files with pagination. Caches files already downloaded. Set clear to 'True' to empty cache. Requires config.py with login information. Performs initial cleaning of json documents.

dataToMongo-splitfiles.js

Creates Mongo database with three collections: Author, Artwork and Media. Requires json data files.

About

Study about gender distribution into french national museums collections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •