Skip to content

Clean#9

Open
hsonne wants to merge 16 commits intodevfrom
clean
Open

Clean#9
hsonne wants to merge 16 commits intodevfrom
clean

Conversation

@hsonne
Copy link
Member

@hsonne hsonne commented May 22, 2024

No description provided.

hsonne added 4 commits May 22, 2024 05:44
- 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