Skip to content

Commit 9edd4c6

Browse files
Add files via upload
1 parent 0686465 commit 9edd4c6

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

CRAN-RELEASE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This package was submitted to CRAN on 2020-02-17.
1+
This package was submitted to CRAN on 2020-02-28.
22
Once it is accepted, delete this file and tag the release (commit 8797722950).

NAMESPACE

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ export(add_count_dt)
55
export(all_dt)
66
export(anti_join_dt)
77
export(arrange_dt)
8-
export(as.data.table)
8+
export(as_dt)
99
export(at_dt)
10+
export(complete_dt)
1011
export(count_dt)
1112
export(data.table)
1213
export(distinct_dt)
1314
export(drop_na_dt)
15+
export(dummy_dt)
1416
export(export_fst)
17+
export(fill_na_dt)
1518
export(filter_dt)
1619
export(filter_fst)
1720
export(fintersect)
@@ -24,6 +27,7 @@ export(fwrite)
2427
export(group_dt)
2528
export(if_dt)
2629
export(import_fst)
30+
export(in_dt)
2731
export(inner_join_dt)
2832
export(lag_dt)
2933
export(lead_dt)
@@ -34,6 +38,7 @@ export(mutate_when)
3438
export(nest_by)
3539
export(parse_fst)
3640
export(pull_dt)
41+
export(rbindlist)
3742
export(rename_dt)
3843
export(replace_na_dt)
3944
export(right_join_dt)
@@ -47,6 +52,7 @@ export(slice_dt)
4752
export(slice_fst)
4853
export(summarise_dt)
4954
export(summarize_dt)
55+
export(t_dt)
5056
export(top_frac_dt)
5157
export(top_n_dt)
5258
export(transmute_dt)
@@ -58,4 +64,3 @@ import(fst)
5864
import(stringr)
5965
importFrom(stats,na.omit)
6066
importFrom(stringr,str_detect)
61-
importFrom(tibble,as_tibble)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Enjoy the data science in *tidyfst* !
2121
- Never use in place replacement.
2222
- Use suffix rather than prefix to increase the efficiency (especially when you have IDE with automatic code completion).
2323
- More flexible verbs for big data manipulation.
24+
- For some useful functions in *data.table*, if *tidyfst* could not optimize the API syntax, never rewrite but export them directly to guarantee the performance.
2425
- Supporting data importing and parsing with *fst*, details see [parse_fst/select_fst/filter_fst](https://hope-data-science.github.io/tidyfst/reference/fst.html) and [import_fst/export_fst](https://hope-data-science.github.io/tidyfst/reference/fst_io.html).
2526
- Flagship functions: [group_dt](https://hope-data-science.github.io/tidyfst/reference/group_dt.html), [unnest_dt](https://hope-data-science.github.io/tidyfst/reference/unnest_dt.html), [mutate_when](https://hope-data-science.github.io/tidyfst/reference/mutate_when.html), etc.
2627

@@ -81,7 +82,7 @@ iris[3:8,] %>%
8182

8283
## Note
8384

84-
In the current version of *tidyfst* (v0.6.9), *group_dt* is not fast enough. To boost the speed, use the development version (v0.7.7) from GitHub. The *tidyfst* is improving all the time, using the development version could help you improve the performance with minimun possible trouble that might come up.
85+
In the current version of *tidyfst* (v0.6.9), *group_dt* is not fast enough. To boost the speed, use the development version (v0.7.7) from GitHub.
8586

8687

8788

cran-comments.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11

2+
## 0.7.7
3+
1. Optimize `group_dt`. First, it is faster than before because I use `[][]` instead of ` %>% `. (Using `%>%` for `.SD` is slow) Second, I design an alternative to use `.SD` directly in `group_dt`, which might improve the efficiency further.
4+
2. Debug `filter_dt`.
5+
3. Add `fill_na_dt` to fill NAs in data.table. Debug all missing functions. Examples are refreshed.
6+
4. Debug `mutate_when`.
7+
5. Add `complete_dt` to complete a data.frame like `tidyr::complete`.
8+
6. Add `dummy_dt` to get dummy variables from columns.
9+
7. Add `t_dt` to transpose data frame efficiently.
10+
8. Remove the export of "as.data.table", add two functions:`as_dt` and `in_dt` to create a short cut to data.table facilities.
11+
212
## 0.6.9
313
Date: 20200227
414
0. Reason for urgent update: The use of `show_tibble` violates the principals of programming. I hope this idea would not spread in the vignette. See changes in 4.
@@ -9,6 +19,7 @@ Date: 20200227
919
5. Add `select_if_dt` function. Moreover, support negative conditional selection in `if_dt`.
1020
6. Delete the vignette entitled "Example 5: Tibble", as this feature is not used any more.
1121
7. Add vignette "Example 5:Fst" for better introduction of the feature.
22+
8. Update vignette "Example 1:Basic usage".
1223

1324
## 0.6.6
1425
Date:20200224

0 commit comments

Comments
 (0)