Package: do 2.0.0.0

Jing Zhang

do: Data Operator

Flexibly convert data between long and wide format using just two functions: reshape_toLong() and reshape_toWide().

Authors:Jing Zhang, Zhi Jin

do_2.0.0.0.tar.gz
do_2.0.0.0.zip(r-4.5)do_2.0.0.0.zip(r-4.4)do_2.0.0.0.zip(r-4.3)
do_2.0.0.0.tgz(r-4.4-any)do_2.0.0.0.tgz(r-4.3-any)
do_2.0.0.0.tar.gz(r-4.5-noble)do_2.0.0.0.tar.gz(r-4.4-noble)
do_2.0.0.0.tgz(r-4.4-emscripten)do_2.0.0.0.tgz(r-4.3-emscripten)
do.pdf |do.html
do/json (API)

# Install 'do' in R:
install.packages('do', repos = c('https://yikeshu0611.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/yikeshu0611/do/issues

On CRAN:

109 exports 4 stars 2.92 score 54 dependencies 5 dependents 8 mentions 57 scripts 2.2k downloads

Last updated 3 years agofrom:7d91dc3367. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 02 2024
R-4.5-winERRORAug 02 2024
R-4.5-linuxERRORAug 02 2024
R-4.4-winERRORAug 02 2024
R-4.4-macERRORAug 02 2024
R-4.3-winERRORAug 02 2024
R-4.3-macERRORAug 02 2024

Exports:%+%%==%%s=%add_biocViewsall_childrenApriori.Basketas.transactionsattr_hrefcat_ncharacter.nmschinese_utf8cnOScol_splitcomplete.datadecreasedelete_leftdelete_updeparse0desc2dfdump.itdup.connectduplicated_allduplicated_lastequalequal_lengthexecexpandfactor.itfactor.it<-factor.nmsfile.dirfile.namefmtformal_dirget_namesgive_namesGreplhas_childrenincreaseinner_Add_Symbolinsertglueinstall_Rversionis.diris.linuxis.macis.windowsjoin_fulljoin_innerjoin_leftjoin_outjoin_rightkeepknife_leftknife_rightlastlast_columnlast_rowleftleft_equallegalload_extdatalowermidmirror.currentmirror.speedmodel.datamodel.xmodel.yNA.col.probNA.col.sumsNA.row.probNA.row.sumsNA.whole.probNA.whole.sumsnames_nNcharnumeric.itnumeric.it<-numeric.nmsoverpakcage_allpaste0_columnspiperd2dfread_Rrep_characterrep_nReplaceReplace_exReplace0reverserightright_equalrm_allrm_ncharrow.freqselectseq_rangeshow_functionsplit_expandtable_NAtake_outTrimTrim_leftTrim_rightunique_no.NAunlibrayupper.dirwrite_xlsx

Dependencies:askpassclicliprcpp11crayoncredentialscurldata.tabledescdplyrfansifsgenericsgertghgitcredsgluehttrhttr2inijsonlitelifecyclemagrittrmimeopensslopenxlsxpillarpkgconfigplyrpurrrR6rappdirsRcppreshape2rlangrprojrootrstudioapirvestselectrstringistringrsystibbletidyrtidyselecttmcnusethisutf8vctrswhiskerwithrxml2yamlzip

version-update

Rendered fromversion-update.Rmdusingknitr::rmarkdownon Aug 02 2024.

Last update: 2021-07-31
Started: 2021-07-31

Readme and manuals

Help Manual

Help pageTopics
Concatenate vectors after converting to character.%+%
Locate Accurately%==%
Locate Similarly by grep()%s=%
Add biocViews Field to Description Fileadd_biocViews
Extract all children nodesall_children
Convert vector to sparse matrixApriori.Basket
Transform to dataframe rules object or calibrate objectas.data.frame as.data.frame.calibrate as.data.frame.rules
Transform rules to dataframeas.data.frame.rules
Transform to transactionsas.transactions
Get hypertext reference attributesattr_href
Comine xml_nodesetc.xml_nodeset
print vector by linescat_n
Return character names in matrix or dataframecharacter.nms
UTF8 Code for Chinesechinese_utf8
Download data from CIGI databaseCIGI CIGI_download CIGI_download_file CIGI_download_url
Chinese operating system Whether the computer is Chinese operating systemcnOS
Split A Vector into Columnscol_split
Change data typecolumntrans factor.it factor.it<- numeric.it numeric.it<-
Find Common Objects from Vectorscommon
Compare two vectorscompare equal lower over
Complete datacomplete.data
Download data from CTD2 databaseCTD2 CTD2_download_dir CTD2_download_file CTD2_download_url
decrease characterdecrease
Delete and Move Left the rest Valuesdelete_left
Delete and Move Up the Rest Valuesdelete_up
substitue, deparse and pastedeparse0
Convert package description file to dataframedesc2df
Detach packagedetach2
Create dump matrix for a vectordump.it
Connect Duplicated Valuesdup.connect
find all duplicated onesduplicate
Determine All Duplicate Elementsduplicated_all
Determine Duplicate Elements in the Last Positionduplicated_last
Equal Lengthequal_length
execute string command This command just execute in the paraent frame.exec
Expand Data by Weightexpand
Return factor names in matrix or dataframefactor.nms
up level directoryfile.dir
Extract file namefile.name
Formatting Replacementfmt
formal directoryformal_dir
Get Names of Objectget_names
change vector, dataframe or matrix namesgive_names give_names.character give_names.data.frame give_names.list give_names.logical give_names.matrix give_names.numeric
Judge for Included CharacterGrepl
Wether children nodes existhas_children
increase characterincrease
Concatenate Stringsinner_Add_Symbol
glueinsertglue
Install contributed packages by R versioninstall_Rversion
Whether file path is directoryis.dir
operation systemis.linux
operation systemis.mac
operation systemis.windows
Join two dataframes togetherjoin join_full join_inner join_left join_out join_right
Keep objectskeep
Knife charactersknife knife_left knife_right
Select character from lastlast
Select dataframe column from lastlast_column
Select dataframe row from lastlast_row
Truncate Characters from the Leftleft
Compare two characters from left Much useful for arguments input. Case is ignored.left_equal
Check legal character Whether the character is legal for names in dataframe or formulalegal
Load external data from R packageload_extdata
Truncate Characters from the Insidemid
Current mirrormirror.current
Set mirrormirror.set
Test speed of mirrormirror.speed
Extract data of modelmodel.data model.x model.y
Proportion of missing value by columnNA.col.prob
Sum of missing value by columnNA.col.sums
Proportion of missing value by rowNA.row.prob
Sum of missing value by rowNA.row.sums
Proportion of missing value in the whole dataframeNA.whole.prob
Sum of missing value in the whole dataframeNA.whole.sums
Names with different lettersnames_n
Number of CharactersNchar
Return numeric names in matrix or dataframenumeric.nms
Get all functions in one packagepakcage_all
Paste Columns Togetherpaste0_columns
pipepipe
Convert package Rd file under man directory into dataframerd2df
Read R fileread_R
ReplaceReplace
Replace ExactlyReplace_ex
Replaced by EmptyReplace0
Replicate Each Elements of Vectorsreplicate rep_character rep_n
Convert Wide Data to Longreshape_toLong
Reshape to Wide Formatreshape_towide
Reshape to Wide Formatreshape_toWide
Reverse String Orderreverse
Truncate Characters from the Rightright
Compare two characters from right Much useful for arguments input. Case is ignored.right_equal
Remove all objectsrm_all
Remove elements by number of charactersrm_nchar
Row Frequencyrow.freq
Subset data Take subset data forselect select.character select.data.frame select.list select.logical select.matrix select.numeric
sequence range of one vectorseq_range
Show function command line in new script script will be store in your temporary directoryshow_function
Split One Column and Expandsplit_expand
Count NAtable_NA
Extract Some Stringtake_out
Download data from Target databaseTarget Target_download_dir Target_download_file Target_download_url
TrimTrim trim-left trim-right Trim_left Trim_right
Unique Without NAunique_no.NA
Detach packageunlibray
up level directoryupper.dir
Write data to Excel file write or append one or more data into one Excel file in each sheet.write_xlsx