Commit 8b0a01bb authored by Severine Duvaud's avatar Severine Duvaud
Browse files

Update README.md

parent fc8f8dc4
......@@ -11,11 +11,15 @@ Queries are contained inside the directory [mongo-queries](mongo-queries)
The following command can be used to download a chunk of the _arrayMap_ dataset, e.g. to understand data structures.
```wget "http://arraymap.org/api/?db=arraymap&qcveto=1&api_out=samples&icdm_m=8,9&api_doctype=jsondata&randno=200" -O 200samples.json```
```
wget "http://arraymap.org/api/?db=arraymap&qcveto=1&api_out=samples&icdm_m=8,9&api_doctype=jsondata&randno=200" -O 200samples.json
```
The next command would replace the current local _arrayMap_ instance with the downloaded file.
```mongoimport --drop --db arraymap --collection samples < 200samples.json --batchSize 1```
```
mongoimport --drop --db arraymap --collection samples < 200samples.json --batchSize 1
```
# beacon-app
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment