Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo structure #3

Open
peterdesmet opened this issue Feb 15, 2019 · 3 comments
Open

Repo structure #3

peterdesmet opened this issue Feb 15, 2019 · 3 comments

Comments

@peterdesmet
Copy link
Member

peterdesmet commented Feb 15, 2019

├── README.md
├── LICENCE
├── .gitignore
│
├── data
│   │
│   ├── raw
│   │   ├── modelling_species.csv
│   │   └── (do not include GBIF data in repo)
│   │
│   ├── interim (.gitignore)
│   │   └── occ with assigned coordinates + grid => S3?
│   │
│   └── processed
│       ├── cube_europe.csv
│       ├── cube_belgium.csv
│       └── cube_belgium_baseline.csv
│
└── src
    │
    ├── belgium
    │   ├── download.Rmd: define filters, trigger download
    │   ├── create_db.Rmd: create sqlite, fill with data, filter on issues
    │   ├── assign_grid.Rmd: assign coordinates, assign grid (chunk based)
    │   └── aggregate.Rmd: (filter on taxa), agg for alien, agg for baseline
    │
    └── europe
        ├── download.Rmd
        ├── create_db.Rmd
        ├── assign_grid.Rmd
        └── aggregate.Rmd


@damianooldoni
Copy link
Contributor

damianooldoni commented Feb 15, 2019

we should add notebook for filtering post download... (e.g. absences, coordinate issues) or just adding the filtering at the begin of assign_coord.ipynb`.

@damianooldoni
Copy link
Contributor

@peterdesmet : up to now we were used to put the file with all triggered downloads (gbif_downloads.tsv) in ./data/output. However, ./data/output doesn't exist anymore, changed to the standard datascience cookiecutter folder ./data/processed, which contains:

The final, canonical data sets for modeling.

I don't like to mix the cubes with this file with all GBIF downloads.
So, should we put it in ./data/processed or maybe use the folder ./references, which contains

Data dictionaries, manuals, and all other explanatory materials.

This is also not completely correct but maybe it is a better solution. The pipeline for triggering a download is ready in branch https://github.com/trias-project/occ-processing/tree/add_download_pipeline_belgium. This is the only doubt I have before PR.

@peterdesmet
Copy link
Member Author

I would put in data/interim

damianooldoni added a commit that referenced this issue Feb 21, 2019
Copied from my local version in trias-project/indicators/data/output. See #3 for possible other location in repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants