{"id":16571789,"url":"https://github.com/hrbrmstr/lizzard","last_synced_at":"2025-03-05T14:19:14.418Z","repository":{"id":141238435,"uuid":"246338651","full_name":"hrbrmstr/lizzard","owner":"hrbrmstr","description":"🦎 Compute and Compare Lempel-Ziv Jaccard (LZJD) Similarity Hashes","archived":false,"fork":false,"pushed_at":"2020-10-13T20:15:50.000Z","size":4537,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T02:52:34.059Z","etag":null,"topics":["lzjd","r","rjava","rstats"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-10T15:30:37.000Z","updated_at":"2020-03-11T08:02:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a7ddc13-8ebc-4ed8-aa8c-85efc0964a93","html_url":"https://github.com/hrbrmstr/lizzard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Flizzard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Flizzard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Flizzard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Flizzard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/lizzard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039717,"owners_count":20061928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lzjd","r","rjava","rstats"],"created_at":"2024-10-11T21:25:17.131Z","updated_at":"2025-03-05T14:19:14.394Z","avatar_url":"https://github.com/hrbrmstr.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\neditor_options: \n  chunk_output_type: console\n---\n```{r pkg-knitr-opts, include=FALSE}\nhrbrpkghelpr::global_opts()\n```\n\n```{r badges, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::stinking_badges()\n```\n\n```{r description, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::yank_title_and_description()\n```\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n```{r ingredients, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::describe_ingredients()\n```\n\n## Installation\n\n```{r install-ex, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::install_block()\n```\n\n## Usage\n\n```{r lib-ex}\nlibrary(lizzard)\n\n# current version\npackageVersion(\"lizzard\")\n\n```\n\n- `index.html` is a static copy of a blog main page with a bunch of `\u003cdiv\u003e`s with article snippets\n- `index1.html` is the same file as `index.htmnl` with a changed cache timestamp at the end\n- `index2.html` is the same file as `index.html` with one article snippet removed\n- `RMacOSX-FAQ.html` is the CRAN 'R for Mac OS X FAQ'\n\n```{r}\n(h1 \u003c- min_hash_for_file(system.file(\"extdat\", \"index.html\", package = \"lizzard\")))\n\n(h2 \u003c- min_hash_for_file(system.file(\"extdat\", \"index1.html\", package = \"lizzard\")))\n\n(h3 \u003c- min_hash_for_file(system.file(\"extdat\", \"index2.html\", package = \"lizzard\")))\n\n(h4 \u003c- min_hash_for_file(system.file(\"extdat\", \"RMacOSX-FAQ.html\", package = \"lizzard\")))\n\nstr(h4, 1)\n\nas.character(h4)\n\nstr(as_lzjd_hash(as.character(h4)), 1)\n\nidentical(as_lzjd_hash(as.character(h4)), h4)\n\ncompute_similarity(h1, h1)\ncompute_distance(h1, h1)\n\ncompute_similarity(h1, h2)\ncompute_distance(h1, h2)\n\ncompute_similarity(h1, h3)\ncompute_distance(h1, h3)\n\ncompute_similarity(h1, h4)\ncompute_distance(h1, h4)\n\ncompute_similarity(h2, h3)\ncompute_distance(h2, h3)\n\ncompute_similarity(h2, h4)\ncompute_distance(h2, h4)\n\ncompute_similarity(h3, h4)\ncompute_distance(h3, h4)\n```\n\n## lizzard Metrics\n\n```{r cloc, echo=FALSE}\ncloc::cloc_pkg_md()\n```\n\n## Code of Conduct\n\nPlease note that this project is released with a Contributor Code of Conduct. \nBy participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Flizzard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Flizzard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Flizzard/lists"}