hypothesisr

R 패키지 메타데이터와 수집 신호를 모아 봅니다.

Packages / CRAN / hypothesisr

hypothesisr

v0.1.1
Repository CRANLicense MIT + file LICENSELifecycle activeNeeds compilation no
DOI
10.32614/CRAN.package.hypothesisr

Core Signals

첫 화면에서 판단해야 할 수집 신호를 먼저 배치합니다.

0
표시할 핵심 신호가 없습니다.

Supported Backends

DESCRIPTION에서 감지한 backend 관련 package입니다.

0
backend package 신호가 없습니다.

Quick Facts

기본 메타데이터를 작은 카드와 토큰으로 압축합니다.

profile
Repository
CRAN
Version
0.1.1
License
MIT + file LICENSE
Lifecycle
active
Needs compilation
no
Last observed
2026-05-30
CRAN
cran.r-project.org/package=hypothesisr

수집 소스별 패키지 정보

1개 소스
CRAN
0.1.1
2026-05-30
License
MIT + file LICENSE
Imports
dplyr, httr, jsonlite
Suggests
testthat
Needs compilation
no
Lifecycle
active
Last observed
2026-05-30 10:45:11

이 패키지가 의존하는 패키지

4개 표시전체 4개
PackageTypeSpec
dplyr
CRAN · 0.1.1 · 2026-05-30
Importsdplyr
httr
CRAN · 0.1.1 · 2026-05-30
Importshttr
jsonlite
CRAN · 0.1.1 · 2026-05-30
Importsjsonlite
testthat
CRAN · 0.1.1 · 2026-05-30
Suggeststestthat
1 / 1

이 패키지를 쓰는 패키지

0개 표시전체 0개
PackageTypeSpec
표시할 dependency edge가 없습니다.
1 / 1

패키지 페이지

All links
24
Repository
CRAN
Version
0.1.1
Collected
2026-05-26 11:30:25
Package page
https://cran.r-project.org/web/packages/hypothesisr/index.html
DOI
10.32614/CRAN.package.hypothesisr
CRAN checks
https://cran.r-project.org/web/checks/check_results_hypothesisr.html
README
https://cran.r-project.org/web/packages/hypothesisr/readme/README.html
NEWS
https://cran.r-project.org/web/packages/hypothesisr/news/news.html
Reference HTML
https://cran.r-project.org/web/packages/hypothesisr/refman/hypothesisr.html
Reference PDF
https://cran.r-project.org/web/packages/hypothesisr/hypothesisr.pdf
Source package
https://cran.r-project.org/src/contrib/hypothesisr_0.1.1.tar.gz
Archive
https://CRAN.R-project.org/src/contrib/Archive/hypothesisr
Page fields
Author
Matthew Lincoln [aut, cre]
BugReports
https://github.com/mdlincoln/hypothesisr/issues
CRAN Checks
hypothesisr results
DOI
10.32614/CRAN.package.hypothesisr
License
MIT + file LICENSE
Maintainer
Matthew Lincoln <matthew.d.lincoln at gmail.com>
Materials
README , NEWS
NeedsCompilation
no
Old Sources
hypothesisr archive
Package Source
hypothesisr_0.1.1.tar.gz
Published
2016-07-01
Reference Manual
hypothesisr.html , hypothesisr.pdf
URL
https://github.com/mdlincoln/hypothesisr
Version
0.1.1
Windows Binaries
r-devel: hypothesisr_0.1.1.zip , r-release: hypothesisr_0.1.1.zip , r-oldrel: hypothesisr_0.1.1.zip
MacOS Binaries
r-release (arm64): hypothesisr_0.1.1.tgz , r-oldrel (arm64): hypothesisr_0.1.1.tgz , r-release (x86_64): hypothesisr_0.1.1.tgz , r-oldrel (x86_64): hypothesisr_0.1.1.tgz
Version
0.1.1
Published
2016-07-01
DOI
10.32614/CRAN.package.hypothesisr
Author
Matthew Lincoln [aut, cre]
Maintainer
Matthew Lincoln <matthew.d.lincoln at gmail.com>
BugReports
https://github.com/mdlincoln/hypothesisr/issues
License
MIT + file LICENSE
URL
https://github.com/mdlincoln/hypothesisr
NeedsCompilation
no
Materials
README , NEWS
CRAN Checks
hypothesisr results
Reference Manual
hypothesisr.html , hypothesisr.pdf
Package Source
hypothesisr_0.1.1.tar.gz
Windows Binaries
r-devel: hypothesisr_0.1.1.zip , r-release: hypothesisr_0.1.1.zip , r-oldrel: hypothesisr_0.1.1.zip
MacOS Binaries
r-release (arm64): hypothesisr_0.1.1.tgz , r-oldrel (arm64): hypothesisr_0.1.1.tgz , r-release (x86_64): hypothesisr_0.1.1.tgz , r-oldrel (x86_64): hypothesisr_0.1.1.tgz
Old Sources
hypothesisr archive
Page sections 3
Documentation
Heading
Documentation
Links
[{"label":"hypothesisr.html","section":"","type":"","url":"https://cran.r-project.org/web/packages/hypothesisr/refman/hypothesisr.html"},{"label":"hypothesisr.pdf","section":"","type":"","url":"https://cran.r-project.org/web/packages/hypothesisr/hypothesisr.pdf"}]
Text
Reference manual: hypothesisr.html , hypothesisr.pdf
Downloads
Heading
Downloads
Links
[{"label":"hypothesisr_0.1.1.tar.gz","section":"","type":"","url":"https://cran.r-project.org/src/contrib/hypothesisr_0.1.1.tar.gz"},{"label":"hypothesisr_0.1.1.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.7/hypothesisr_0.1.1.zip"},{"label":"hypothesisr_0.1.1.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.6/hypothesisr_0.1.1.zip"},{"label":"hypothesisr_0.1.1.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.5/hypothesisr_0.1.1.zip"},{"label":"hypothesisr_0.1.1.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/sonoma-arm64/contrib/4.6/hypothesisr_0.1.1.tgz"},{"label":"hypothesisr_0.1.1.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-arm64/contrib/4.5/hypothesisr_0.1.1.tgz"},{"label":"hypothesisr_0.1.1.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.6/hypothesisr_0.1.1.tgz"},{"label":"hypothesisr_0.1.1.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/hypothesisr_0.1.1.tgz"},{"label":"hypothesisr archive","section":"","type":"","url":"https://CRAN.R-project.org/src/contrib/Archive/hypothesisr"}]
Text
Package source: hypothesisr_0.1.1.tar.gz Windows binaries: r-devel: hypothesisr_0.1.1.zip , r-release: hypothesisr_0.1.1.zip , r-oldrel: hypothesisr_0.1.1.zip macOS binaries: r-release (arm64): hypothesisr_0.1.1.tgz , r-oldrel (arm64): hypothesisr_0.1.1.tgz , r-release (x86_64): hypothesisr_0.1.1.tgz , r-oldrel (x86_64): hypothesisr_0.1.1.tgz Old sources: hypothesisr archive
Linking
Heading
Linking
Links
[{"label":"https://CRAN.R-project.org/package=hypothesisr","section":"","type":"","url":"https://CRAN.R-project.org/package=hypothesisr"}]
Text
Please use the canonical form https://CRAN.R-project.org/package=hypothesisr to link to this page.
Materials 2
Documentation 2
Downloads 9
All page links 24

패키지 문서 원문

4 artifacts
field
NEWS
CRAN · 0.1.1 · Materials · text/html · 934 · 2026-05-07
Title
NEWS
Label
NEWS
Text content
Text content
NEWS code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} hypothesisr 0.1.1 Minor bux fix to repair a failing test that expected different result column names than it should have. hypothesisr 0.1.0 First CRAN release
field
README
CRAN · 0.1.1 · Materials · text/html · 19,244 · 2026-05-07
Title
README
Label
README
Text content
Text content
README code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} pre > code.sourceCode { white-space: pre; position: relative; } pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } pre > code.sourceCode > span:empty { height: 1.2em; } .sourceCode { overflow: visible; } code.sourceCode > span { color: inherit; text-decoration: inherit; } div.sourceCode { margin: 1em 0; } pre.sourceCode { margin: 0; } @media screen { div.sourceCode { overflow: auto; } } @media print { pre > code.sourceCode { white-space: pre-wrap; } pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } pre.numberSource code > span { position: relative; left: -4em; counter-increment: source-line; } pre.numberSource code > span > a:first-child::before { content: counter(source-line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0 4px; width: 4em; color: #aaaaaa; } pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; } div.sourceCode { } @media screen { pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; } } code span.al { color: #ff0000; font-weight: bold; } /* Alert */ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */ code span.at { color: #7d9029; } /* Attribute */ code span.bn { color: #40a070; } /* BaseN */ code span.bu { color: #008000; } /* BuiltIn */ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */ code span.ch { color: #4070a0; } /* Char */ code span.cn { color: #880000; } /* Constant */ code span.co { color: #60a0b0; font-style: italic; } /* Comment */ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */ code span.do { color: #ba2121; font-style: italic; } /* Documentation */ code span.dt { color: #902000; } /* DataType */ code span.dv { color: #40a070; } /* DecVal */ code span.er { color: #ff0000; font-weight: bold; } /* Error */ code span.ex { } /* Extension */ code span.fl { color: #40a070; } /* Float */ code span.fu { color: #06287e; } /* Function */ code span.im { color: #008000; font-weight: bold; } /* Import */ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ code span.kw { color: #007020; font-weight: bold; } /* Keyword */ code span.op { color: #666666; } /* Operator */ code span.ot { color: #007020; } /* Other */ code span.pp { color: #bc7a00; } /* Preprocessor */ code span.sc { color: #4070a0; } /* SpecialChar */ code span.ss { color: #bb6688; } /* SpecialString */ code span.st { color: #4070a0; } /* String */ code span.va { color: #19177c; } /* Variable */ code span.vs { color: #4070a0; } /* VerbatimString */ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */ hypothesisr Interact with the API for hypothes.is , the web annotation service. Allows users to add, search for, and retrieve annotation data. Installation # install.packages("devtools") devtools :: install_github ( "mdlincoln/hypothesisr" ) Usage Search and retrieve annotations library (hypothesisr) ulysses_annotations <- hs_search ( text = "ulysses" ) dim (ulysses_annotations) #> [1] 6 28 names (ulysses_annotations) #> [1] "updated" "group" #> [3] "target" "tags" #> [5] "text" "created" #> [7] "uri" "user" #> [9] "id" "references" #> [11] "links.json" "links.html" #> [13] "links.incontext" "document.link" #> [15] "document.title" "document.favicon" #> [17] "document.twitter.url" "document.twitter.site" #> [19] "document.twitter.card" "document.twitter.title" #> [21] "document.facebook.url" "document.facebook.site_name" #> [23] "document.facebook.type" "document.facebook.title" #> [25] "permissions.read" "permissions.admin" #> [27] "permissions.update" "permissions.delete" ulysses_annotations $ text #> [1] "Pope adds in a footnote: \"Minerva in like manner, during the Battle of Ulysses with the Suitors in Odyss. perches on a beam of the roof to behold it.\"\n\nSource: \n\nPope, Alexander, and Adolphus William Ward. The Poetical Works of Alexander Pope. London: Macmillan, 1907. Print." #> [2] "Reminds me also of the \"Bloomsday\" tradition of reading (gulp) Joyce's *Ulysses* aloud on the calendar day associated with the fictional events of the novel." #> [3] "I wonder if the paperback of *Ulysses* I spilled a Venti iced coffee on in 2009 will make it into one of these displays some day. Probably not, but a girl can dream, right?" #> [4] "Using s sneak attack on Gen, Ulysses S. Grant on the Tennessee river ending in 13,000 people killed and injured on the union, and 10,000 confederates. Knowing that the Union can not take many more loses like this, and something new had to be done. " #> [5] "And Ulysses may be the ideal text to annotate and collaborate with, as Joyce's work itself " #> [6] "What better novel to annotate than Ulysses, a novel full of jokes, references, and puzzles? " You can specify any of the available annotation data fields with a named list using the custom parameter. For example, to find all the annotations on a domain, query the uri.parts field (but don’t include .com , .org , .edu and the like; this currently results in the API returning annotations sharing any of those TLDs.) ph <- hs_search_all ( custom = list ( uri.parts = "programminghistorian" )) library (dplyr) # Display the top 5 most-annotated pages under this domain slice ( count (ph, uri, sort = TRUE ), 1 : 5 ) uri n http://programminghistorian.org/lessons/getting-started-with-markdown 6 http://programminghistorian.org/lessons/graph-databases-and-SPARQL 6 http://programminghistorian.org/lessons/intro-to-the-zotero-api 6 http://programminghistorian.github.io/ph-submissions/lessons/building-static-sites-with-jekyll-github-pages 5 http://programminghistorian.org/lessons/creating-new-items-in-zotero 5 hs_search() will retrieve one page of annotations (up to 200 annotations per page), while hs_search_all() will page through all available annotations until they are all downloaded. Note: running hs_search_all() with no parameters will download all publicly accessible hypothes.is annotations. Create, read, update, and delete annotations To create and delete annotations, you will need to register for an API token at https://hypothes.is/register . At the moment, hpothesisr cannot create annotations targeted to a particular section of a webpage, such as a highlighted line. These annotations will be visible at the page-level. user_token <- "xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" hs_create ( token = user_token, uri = "https://github.com/mdlincoln/hypothesisr" , user = "acct:mdlincoln@hypothes.is" , tags = c ( "testing" , "R" ), text = "R made me!" ) #> [1] "WFMnSC3FEeaNvLeGkQeJbg" You may also retrieve the data describing individual annotations by id: a <- hs_read ( "WFMnSC3FEeaNvLeGkQeJbg" ) a $ uri #> [1] "https://github.com/mdlincoln/hypothesisr" a $ text #> [1] "R made me!" a $ user #> [1] "acct:mdlincoln@hypothes.is" You can update individual fields of annotations by passing your token, the annotation ID, and one or more fields with replacement values. hs_update (user_token, "WFMnSC3FEeaNvLeGkQeJbg" , text = "Now even more annotate-y!" ) hs_read ( "WFMnSC3FEeaNvLeGkQeJbg" ) $ text #> [1] "Now even more annotate-y!" You can also delete annotations (at least, those for which you have the permissions to delete): hs_delete (user_token, "lDf9rC3EEea6ck-G5kLdXA" ) #> [1] TRUE Other utilities Easily reply to an annotation with hs_reply() , which sends useful defaults to hs_creat
reference_manual_html
Reference manual HTML
CRAN · 0.1.1 · Documentation · text/html · 19,886 · 2026-05-07
Title
Help for package hypothesisr
Label
Reference manual HTML
Text content
Text content
Help for package hypothesisr const macros = { "\\R": "\\textsf{R}", "\\mbox": "\\text", "\\code": "\\texttt"}; function processMathHTML() { var l = document.getElementsByClassName('reqn'); for (let e of l) { katex.render(e.textContent, e, { throwOnError: false, macros }); } return; } Package {hypothesisr} Contents hypothesisr hs_create hs_delete hs_read hs_reply hs_search hs_search_all hs_update open_ Type: Package Title: Wrapper for the 'Hypothes.is' Web Annotation Service Version: 0.1.1 Description: Interact with the application programming interface for the web annotation service 'Hypothes.is' (See http://hypothes.is for more information.) Allows users to download data about public annotations, and create, retrieve, update, and delete their own annotations. Imports: dplyr, httr, jsonlite License: MIT + file LICENSE LazyData: TRUE RoxygenNote: 5.0.1 Suggests: testthat URL: https://github.com/mdlincoln/hypothesisr BugReports: https://github.com/mdlincoln/hypothesisr/issues NeedsCompilation: no Packaged: 2016-07-01 14:07:42 UTC; admin Author: Matthew Lincoln [aut, cre] Maintainer: Matthew Lincoln <matthew.d.lincoln@gmail.com> Repository: CRAN Date/Publication: 2016-07-01 16:33:31 hypothesisr: Wrapper for the Hypothes.is API Description Interact with the API for the web annotation service hypothes.is. Allows users to add, search for, and retrieve annotation data. Create annotations Description Create annotations Usage hs_create(token, uri, user, permissions = list(read = "group:__world__", update = user, delete = user, admin = user), document = NULL, target = NULL, tags = NULL, text, custom = NULL) Arguments token Character. Your account token, which you can generate at https://hypothes.is/register uri Character. The URI to be annotated. user Character. Your user account, normally in the format acct:username@hypothes.is permissions A named list with read, update, delete, and admin permissions. Defaults to setting global read permissions ( group:__world__ ) and setting the user string for update, delete, and admin permissions. document A list describing the document. CURRENTLY IGNORED. target A list describing the highlight position of the annotation. CURRENTLY IGNORED tags Character. (optional) Tags to apply to the annotation. text Character. Text to put in the body of the annotation. This will be coerced into a character vector of length 1 using paste . custom Add arbitrary fields to the JSON object submitted to hypothes.is by means of a named list. Value Upon successful creation, returns a 22-character annotation ID. This ID may be retrieved using hs_read . Source https://h.readthedocs.io/en/latest/api/#create Examples ## Not run: hs_create(token = user_token, uri = "https://github.com/mdlincoln/hypothesisr", user = "acct:mdlincoln@hypothes.is", tags = c("testing", "R"), text = "R made me!") ## End(Not run) Delete an annotation Description Delete an annotation Usage hs_delete(token, id) Arguments token Character. Your account token, which you can generate at https://hypothes.is/register id Character. A hypothes.is annotation id. Value TRUE on successful deletion. Source https://h.readthedocs.io/en/latest/api/#delete Retrieve a single annotation by ID Description Retrieve a single annotation by ID Usage hs_read(id) Arguments id Character. A hypothes.is annotation id. Value A dataframe with the contents of that annotation. Source https://h.readthedocs.io/en/latest/api/#read Examples hs_read("WFMnSC3FEeaNvLeGkQeJbg") Create a reply to a comment Description This is a utility wrapper around hs_create that takes an original comment ID and creates a reply to it by adding the custom references field when constructing the annotation. Normal fields like Usage hs_reply(token, user, id, text, ...) Arguments token Character. Your account token, which you can generate at https://hypothes.is/register user Character. Your user account, normally in the format acct:username@hypothes.is id Character. The annotation ID to reply to. text Character. Text to put in the body of the annotation. This will be coerced into a character vector of length 1 using paste . ... Other arguments to pass to hs_create . Search hypothes.is annotations Description Search hypothes.is annotations. Usage hs_search(limit = NULL, offset = NULL, sort = "updated", order = "asc", uri = NULL, user = NULL, text = NULL, any = NULL, custom = list()) Arguments limit Integer. The maximum number of annotations to return. (Default: 20) offset Integer The minimum number of initial annotations to skip. This is used for pagination. For example if there are 65 annotations matching our search query and we're retrieving up to 30 annotations at a time, then to retrieve the last 5, set offset = 5. (Default = 0) sort Character. Specify which field the annotations should be sorted by: consumer , created , id , text , updated , uri , user . order Character. Specify which order annotations should be sorted by: asc or desc . uri Character. Search for annotations of a particular URI, for example www.example.com . URI searches will also find annotations of equivalent URIs. For example if the HTML document at http://www.example.com/document.html? includes a <link rel="canonical" href="http://www.example.com/canonical_document.html"> then annotations of http://www.example.com/canonical_document.html will also be included in the search results. Other forms of document equivalence that are supported include rel="alternate" links, DOIs, PDF file IDs, and more. user Character. Search for annotations by a particular user. For example, tim will find all annotations by users named tim at any provider, while tim@hypothes.is will only find annotations by tim on hypothes.is text Character. Search for annotations whose body text contains some text, for example: foobar . any Character. Search for annotations whose quote , tags , text , uri.parts or user fields match some query text. custom A named list of any field in the results returned by hypothes.is as a name, and the search text as values. Value A dataframe with annotation data. Note If any vectors are passed to these arguments, only the first values will be used. Source https://h.readthedocs.io/en/latest/api/#search Examples # Search for no more than 5 annotations containing the text "ulysses" hs_search(text = "ulysses", limit = 5) # Search with a custom field for tags hs_search(custom = list(tags = "todo")) # use the 'uri.parts' field to find annotations on a given domain (exclude # the TLD, as this will result in all annotations on sites with, e.g., .org, # as well.) hs_search(custom = list(uri.parts = "programminghistorian")) Retreive all annotation search results as a data frame Description Takes the same arguments as hs_search and pages through all available results, formatting the output as a data.frame. Usage hs_search_all(sort = "updated", order = "asc", uri = NULL, user = NULL, text = NULL, any = NULL, custom = list(), pagesize = 200, progress = interactive()) Arguments sort Character. Specify which field the annotations should be sorted by: consumer , created , id , text , updated , uri , user . order Character. Specify which order annotations should be sorted by: asc or desc . uri Character. Search for annotations of a particular URI, for example www.example.com . URI searches will also find annotations of equivalent URIs. For example if the HTML document at http://www.example.com/document.html? includes a <link rel="canonical" href="http://www.example.com/canonical_document.html"> then annotations of http://www.example.com/canonical_document.html will also be included in the search results. Other forms of document equivalence that are supported include rel="alternate" links, DOIs, PDF file IDs, and more. user Character. Search for annotations by a particular user. For example, tim will find all annotations by users named tim at any provider, while tim@hypothes.is will only find annotations by tim on hypothes.is text Character. Search for annotations whose body tex
section
hypothesisr.pdf
CRAN · 0.1.1 · Documentation · application/pdf · 96,423 · 2026-05-07
Title
hypothesisr.pdf
Label
hypothesisr.pdf

Reference for hypothesisr (0.1.1)

9개 topic
hs_create
Create annotations
CRAN · 0.1.1 · hypothesisr/man/hs_create.Rd · 2026-05-07

Create annotations

Aliases
hs_create
Usage
hs_create(token, uri, user, permissions = list(read = "group:__world__", update = user, delete = user, admin = user), document = NULL, target = NULL, tags = NULL, text, custom = NULL)
Arguments
token
Character. Your account token, which you can generate at https://hypothes.is/register
uri
Character. The URI to be annotated.
user
Character. Your user account, normally in the format acct:username@hypothes.is
permissions
A named list with read, update, delete, and admin permissions. Defaults to setting global read permissions (group:__world__) and setting the user string for update, delete, and admin permissions.
document
A list describing the document. CURRENTLY IGNORED.
target
A list describing the highlight position of the annotation. CURRENTLY IGNORED
tags
Character. (optional) Tags to apply to the annotation.
text
Character. Text to put in the body of the annotation. This will be coerced into a character vector of length 1 using paste.
custom
Add arbitrary fields to the JSON object submitted to hypothes.is by means of a named list.
Value
Upon successful creation, returns a 22-character annotation ID. This ID may be retrieved using hs_read.
Source
https://h.readthedocs.io/en/latest/api/#create
Examples
hs_create(token = user_token, uri = "https://github.com/mdlincoln/hypothesisr", user = "acct:mdlincoln@hypothes.is", tags = c("testing", "R"), text = "R made me!")
hs_delete
Delete an annotation
CRAN · 0.1.1 · hypothesisr/man/hs_delete.Rd · 2026-05-07

Delete an annotation

Aliases
hs_delete
Usage
hs_delete(token, id)
Arguments
token
Character. Your account token, which you can generate at https://hypothes.is/register
id
Character. A hypothes.is annotation id.
Value
TRUE on successful deletion.
Source
https://h.readthedocs.io/en/latest/api/#delete
hs_read
Retrieve a single annotation by ID
CRAN · 0.1.1 · hypothesisr/man/hs_read.Rd · 2026-05-07

Retrieve a single annotation by ID

Aliases
hs_read
Usage
hs_read(id)
Arguments
id
Character. A hypothes.is annotation id.
Value
A dataframe with the contents of that annotation.
Source
https://h.readthedocs.io/en/latest/api/#read
Examples
hs_read("WFMnSC3FEeaNvLeGkQeJbg")
hs_reply
Create a reply to a comment
CRAN · 0.1.1 · hypothesisr/man/hs_reply.Rd · 2026-05-07

This is a utility wrapper around hs_create that takes an original comment ID and creates a reply to it by adding the custom references field when constructing the annotation. Normal fields like

Aliases
hs_reply
Usage
hs_reply(token, user, id, text, ...)
Arguments
token
Character. Your account token, which you can generate at https://hypothes.is/register
user
Character. Your user account, normally in the format acct:username@hypothes.is
id
Character. The annotation ID to reply to.
text
Character. Text to put in the body of the annotation. This will be coerced into a character vector of length 1 using paste.
...
Other arguments to pass to hs_create.
hs_search_all
Retreive all annotation search results as a data frame
CRAN · 0.1.1 · hypothesisr/man/hs_search_all.Rd · 2026-05-07

Takes the same arguments as hs_search and pages through all available results, formatting the output as a data.frame.

Aliases
hs_search_all
Usage
hs_search_all(sort = "updated", order = "asc", uri = NULL, user = NULL, text = NULL, any = NULL, custom = list(), pagesize = 200, progress = interactive())
Arguments
sort
Character. Specify which field the annotations should be sorted by: consumer, created, id, text, updated, uri, user.
order
Character. Specify which order annotations should be sorted by: asc or desc.
uri
Character. Search for annotations of a particular URI, for example www.example.com. URI searches will also find annotations of equivalent URIs. For example if the HTML document at http://www.example.com/document.html? includes a <link rel="canonical" href="http://www.example.com/canonical_document.html"> then annotations of http://www.example.com/canonical_document.html will also be included in the search results. Other forms of document equivalence that are supported include rel="alternate" links, DOIs, PDF file IDs, and more.
user
Character. Search for annotations by a particular user. For example, tim will find all annotations by users named tim at any provider, while tim@hypothes.is will only find annotations by tim on hypothes.is
text
Character. Search for annotations whose body text contains some text, for example: foobar.
any
Character. Search for annotations whose quote, tags, text, uri.parts or user fields match some query text.
custom
A named list of any field in the results returned by hypothes.is as a name, and the search text as values.
pagesize
Integer. How many annotations to retrieve per query. Between 1 and 200. (Default: 200)
progress
Boolean. Should a progress bar be displayed during download?
Value
A dataframe with annotation data.
Examples
hs_search_all(text = "arxiv")
hs_update
Update annotations
CRAN · 0.1.1 · hypothesisr/man/hs_update.Rd · 2026-05-07

Update annotations

Aliases
hs_update
Usage
hs_update(token, id, uri = NULL, user = NULL, permissions = NULL, document = NULL, target = NULL, tags = NULL, text = NULL, custom = NULL)
Arguments
token
Character. Your account token, which you can generate at https://hypothes.is/register.
id
Character. A hypothes.is annotation id.
uri
Character. The URI to be annotated.
user
Character. Your user account, normally in the format acct:username@hypothes.is
permissions
A named list with read, update, delete, and admin permissions. Defaults to setting global read permissions (group:__world__) and setting the user string for update, delete, and admin permissions.
document
A list describing the document. CURRENTLY IGNORED.
target
A list describing the highlight position of the annotation. CURRENTLY IGNORED
tags
Character. (optional) Tags to apply to the annotation.
text
Character. Text to put in the body of the annotation. This will be coerced into a character vector of length 1 using paste.
custom
Add arbitrary fields to the JSON object submitted to hypothes.is by means of a named list.
Value
TRUE on successful update.
Source
https://h.readthedocs.io/en/latest/api/#update
Examples
hs_update(user_token, "lDf9rC3EEea6ck-G5kLdXA", text = "Now even more annotate-y!")
hypothesisr
hypothesisr: Wrapper for the Hypothes.is API
CRAN · 0.1.1 · package · hypothesisr/man/hypothesisr.Rd · 2026-05-07

Interact with the API for the web annotation service hypothes.is. Allows users to add, search for, and retrieve annotation data.

Aliases
hypothesisrhypothesisr-package
open_
Functions for opening an annotation in the system browser
CRAN · 0.1.1 · hypothesisr/man/open_.Rd · 2026-05-07

Functions for opening an annotation in the system browser

Aliases
open_open_annotationopen_contextopen_uri
Usage
open_context(id) open_annotation(id) open_uri(id)
Arguments
id
Annotation ID.
Custom sections
Functions
open_context: Open an annotation in context, displaying the original webpage with an annotation overlay open_annotation: Open an annotation on the hypothes.is webpage open_uri: Open the original webpage to which the annotation links

버전 이력

RepositoryVersionPublishedFirst seenLast seenDocs
CRAN0.1.12026-05-292026-05-30

보안

표시할 OSV 데이터가 없습니다.

문헌 신호

표시할 OpenAlex 데이터가 없습니다.