tomaztk / datasetR

Generate datasets for R projects
6 stars 0 forks source link

Adding new type of variables #3

Open jhk0530 opened 1 year ago

jhk0530 commented 1 year ago

Hi tomaztk. Thanks for the inspiration with your wonderful package. 🤗


It would be nice to be able to create some types of variables as well.

First, I would like to be able to create an age variable. A normal, uniform, or bimodal distribution would be sufficient.

Secondly, it would be nice to have a time variable, for example to create data like time of purchase.

Thirdly, it would be nice to have the ability to fix the seed to create the same dataset.

I'd also like to ask if you have any thoughts on implementing a package user manual using pkgdown (I'd love to help if you don't mind). which can contain more information than just readme.


Lastly, this isn't a request, but I'm just curious.

Is it possible to specify a column when creating data?

For example, I understand that dsR(ms:3) will give me 3 options for the 3 random ms variable column, but for example, I want them all to be color only.

If I wanted to use a color variable and but dsR made came up with a numeric variable, I should have to create a new sample again. (maybe I didn't understand function completely) 😂

Again, thanks for a great package. 🥰

tomaztk commented 1 year ago

Hi, Thank you for your ideas. I will implement the ideas (age, time variable, set.seed(), probability and distributions as well) and specifying the columns). I have a plan to add some proper documentation, but your generosity is great and I would appreciate your help on pkgdown. Thank you in advance.