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

199 rework timeseries creation to contain species with observation after 1950 #202

Conversation

soriadelva
Copy link
Contributor

@soriadelva soriadelva commented Jul 3, 2024

null

@SanderDevisscher
Copy link
Collaborator

success 💪 🥳

@soriadelva
Copy link
Contributor Author

@SanderDevisscher deze PR mag gereviewed worden, nu de flow weer werkt :)

Copy link
Collaborator

@SanderDevisscher SanderDevisscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we changed the name of this script to cube_preprocessing (see #201) it is best to do the following (in order):

  • rename 05_occurrence_indicators_preprocessing.Rmd to cube_preprocessing on this branch
  • do a rebase to make sure other changes in cube_preprocessing are included
  • solve possible conflicts
  • solve other issues

src/05_occurrence_indicators_preprocessing.Rmd Outdated Show resolved Hide resolved
@@ -368,15 +368,15 @@ df_bl_xy %>% head()

## Apply temporal and spatial restraints

Select alien species introduced after 1950 (`year_of_introduction`: 1950) or whose date of introduction is not known:
Select alien species that were observed after 1950 (`year_cutoff`: 1950) or whose date of introduction is not known:

```{r select_aliens_after_year_of_introduction}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

select aliens with recent observations?


```{r n_recent_taxa}
nrow(recent_alien_species)
```

List of alien species excluded as first introduction date is earlier than 1950:
List of alien species excluded as last observation date is earlier than 1950:

```{r recent_alien_species}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extinct_alien_species ?

@@ -430,24 +430,24 @@ old_introductions_taxa <-
old_introductions_taxa
```

We save them in file `taxa_introduced_in_BE_before_1950.tsv` in `data/output`:
We save them in file `taxa_last_observed_in_BE_before_1950.tsv` in `data/output`:

```{r save_old_introduced_taxa_as_tsv_file}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

save_last_observed_before ?

@soriadelva
Copy link
Contributor Author

Rebase with uat?

@SanderDevisscher
Copy link
Collaborator

Rebase with uat?

yes

@soriadelva
Copy link
Contributor Author

Rebase with uat?

yes

I got the following error: A lock file already exists in the repository, which blocks this operation from completing. any ideas?

@soriadelva soriadelva force-pushed the 199-rework-timeseries-creation-to-contain-species-with-observation-after-1950 branch from 32fede4 to eeb972d Compare July 17, 2024 14:39
@SanderDevisscher SanderDevisscher merged commit db48284 into uat Jul 19, 2024
1 check passed
@SanderDevisscher SanderDevisscher deleted the 199-rework-timeseries-creation-to-contain-species-with-observation-after-1950 branch July 19, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework timeseries creation to contain species with observation after 1950
2 participants