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

Clean #9

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from
Open

Clean #9

wants to merge 16 commits into from

Conversation

hsonne
Copy link
Member

@hsonne hsonne commented May 22, 2024

No description provided.

- reindent
- add space after "if"
- use else if (...) instead of else {if (...)}
- no need for paste0() within message()
- reindent
- use helper variable "satellite_columns"
- use all(..) instead of sum(...) == 2
- use if () expr. directly in unnest() call
- use pipe operator (more often)
- loop through list elements x instead of list
  indices idx, where possible
- rename "idx" to "i"
- use helper variable "geometries"
@hsonne hsonne requested a review from mrustl May 22, 2024 06:02

collectionList <- collection$toList(nImages)

metadata_list <- collection$fromImages(collectionList)
metadata_list <- metadata_list$getInfo()
Copy link
Member

Choose a reason for hiding this comment

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

metadata_list$getInfo()$features da metadata_list <- metadata_list$getInfo() gelöscht wurde

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm. Steht das nicht in Zeile 33?

hsonne added 11 commits May 22, 2024 20:56
Merge branch 'dev' into clean

# Conflicts:
#	R/flatten_results.R
- improve names (current_date -> today)
- check year input, call as.integer(year) once
- use intermediate variable "n_lakes"
- use &&, || instead of &, |, within if ()
- be positive and gramatically correct:
  "success" instead of "not_failed"
- use intermediate variable "n_lakes"
- use &&, || instead of &, |, within if ()
- be positive and gramatically correct:
  "success" instead of "not_failed"
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.

2 participants