Skip to content

Commit

Permalink
Update transaction.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ndleah committed Jan 24, 2022
1 parent a3130e6 commit d63f9fa
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions transaction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -777,16 +777,15 @@ To be more specific, the loop function will do the following tasks:
5. Consolidate all data into a dataframe.\

```{r}
industries <- sort(unique(aggregated_transactions$industry))
locations <- sort(unique(aggregated_transactions$location))
for ind in industries{
for loc in locations{
temp = aggregated_transactions[aggregated_transactions$industry=ind & aggregated_transactions$location=loc,]
if length(uni)
}
}
# industries <- sort(unique(aggregated_transactions$industry))
# locations <- sort(unique(aggregated_transactions$location))
#
# for ind in industries{
# for loc in locations{
# temp = aggregated_transactions[aggregated_transactions$industry=ind & aggregated_transactions$location=loc,]
#
# }
# }
```

# Evaluation
Expand Down

0 comments on commit d63f9fa

Please sign in to comment.