No articles match
igraph (interfaz R)3 months ago
Instalación | Uso de igraph | Crear un grafo | IDs de vértices y aristas | Añadir y borrar vértices y aristas | Construcción de grafos | Establecer y recuperar atributos | Propiedades estructurales de los grafos | Búsqueda de vértices y aristas basada en atributos | Selección de vértices | Selección de aristas | Tratar un grafo como una matriz de adyacencia | Diseños y graficación | Algoritmos de diseño | Dibujar un grafo utilizando un diseño | Atributos de los vértices para graficar | Atributos de las aristas para graficar | Argumentos más comunes de plot() | igraph y el mundo exterior | Dónde ir a continuación | Información de la sesión
igraph (R interface)3 months ago
Installation | Usage | Creating a graph | Vertex and edge IDs | Adding/deleting vertices and edges | Constructing graphs | Setting and retrieving attributes | Structural properties of graphs | Querying vertices and edges based on attributes | Selecting vertices | Selecting edges | Treating a graph as an adjacency matrix | Layouts and plotting | Layout algorithms | Drawing a graph using a layout | Vertex attributes controlling graph plots | Edge attributes controlling graph plots | Generic arguments of plot() | igraph and the outside world | Where to go next | Session info
Column types3 months ago
Overview | Example values | Implementation
A Common Database Interface (DBI)4 months ago
Version | Introduction | DBI Classes and Methods | Class DBIObject | Class DBIDriver | Class DBIConnection | Class DBIResult | Data Type Mappings | Utilities | Open Issues and Limitations | Resources
A Common Interface to Relational Databases from R and S -- A Proposal4 months ago
Computing with Distributed Data | A Common Interface | Interface Classes | Class dbManager | Class dbConnection | Class dbResult | Class dbResultSet | Data Type Mappings | Open Issues | Limitations | Other Approaches | Open Database Connectivity (ODBC) | Java Database Connectivity (JDBC) | CORBA and a 3-tier Architecture | Resources | Acknowledgements | The S Version 4 Definitions
Advanced DBI Usage4 months ago
Who this tutorial is for | How to run more complex queries using DBI | How to read part of a table from a database | How to use parameters (safely) in SQL queries | Quoting | Parameterized queries | SQL data manipulation - UPDATE, DELETE and friends | SQL transactions with DBI | Conclusion
Getting started with dm4 months ago
Creating a dm object | Selecting tables | Linking tables by adding keys | Visualizing a data model | Accessing a data model as a table | Operations on table data within a dm | Checking constraints | Next Steps | Standing on the shoulders of giants
Copy tables to and from a database4 months ago
Copy models or copy tables? | Copying and persisting individual tables | Adding local data frames to an RDBMS | Persisting a relational model with copy_dm_to() | Conclusion | Further Reading
Create a dm object from a database4 months ago
Building a dm from a subset of tables | Defining Primary and Foreign Keys | Serializing a dm object | Transient nature of operations | Performing operations on tables by "zooming" | Downloading data | Persisting results | Conclusion | Further reading
Implementing a Work Queue using RPostgres4 months ago
LISTEN / NOTIFY | SKIP LOCKED | Implementing our worker
Invariants: Comparing behavior with data frames5 months ago
Conventions | Column extraction | Definition of x[[j]] | Definition of x$name | Column subsetting | Definition of x[j] | Definition of x[, j] | Definition of x[, j, drop = TRUE] | Row subsetting | Definition of x[i, ] | Definition of x[i, , drop = TRUE] | Row and column subsetting | Definition of x[] and x[,] | Definition of x[i, j] | Definition of x[[i, j]] | Column update | Definition of x[[j]] <- a | Definition of x$name <- a | Column subassignment: x[j] <- a | a is a list or data frame | a is a matrix or array | a is another type of vector | a is NULL | a is not a vector | Row subassignment: x[i, ] <- list(...) | Row and column subassignment | Definition of x[i, j] <- a | Definition of x[[i, j]] <- a
Translations7 months ago
Data types | Verbs | Functions within verbs | Parentheses | Comparison operators | Basic arithmetics | Math functions | Logical operators | Branching and conversion | String manipulation | Date manipulation | Aggregation | Shifting | Ranking | Special cases | Contributing | Known incompatibilities | Output order stability | sum() | Empty vectors in aggregate functions | min() and max() for logical input | n_distinct() and multiple arguments | is.na() and NaN values | Row names | Other differences
Memory protection: controlling automatic materialization9 months ago
Introduction | Eager and lazy computation | Example | Comparison | Prudence | Concept | Enforcing DuckDB operation | From stingy to lavish | Thrift | File ingestion and custom limits | Conclusion
here9 months ago
Basic functionality | Declare the location of the current script | Use project-relative paths | Situation report | What if the working directory is wrong? | Extra safety | Conflicts with other packages | Specify a unique identifier | Beyond here | Change project root | Under the hood: rprojroot
Introduction to relational data models12 months ago
1. Data Frames and Tables | 2. Data Model | 3. Primary Keys | 4. Foreign Keys | 5. Referential Integrity | 6. Normalization | 7. Relational Databases | Conclusion | Further reading
Filtering in relational data models12 months ago
Data: nycflights13 | Filtering a dm object | How it works | Filtering Examples | SQL statements behind filtering a dm object on a database
Column formats1 years ago
Overview
Comparing display with data frames1 years ago
Digits | Basic differences | Terminal zeros | Trailing dot | Showing more digits | Fixed number of digits | Scientific notation | When is it used? | Enforce notation
Controlling display of numbers1 years ago
Options | Per-column number formatting | Rule-based number formatting | Computing on num | Arithmetics | Mathematics | Override | Recovery
Tibbles1 years ago
Creating | Coercion | Tibbles vs data frames | Printing | Subsetting | Recycling | Arithmetic operations
Introduction to DBI1 years ago
Who this tutorial is for | How to connect to a database using DBI | Secure password storage | How to retrieve column names for a table | Read a table into a data frame | Read only selected rows and columns into a data frame | How to end a DBMS session | Conclusion | Further Reading
Interoperability with DuckDB and dbplyr1 years ago
Introduction | From duckplyr to dbplyr | Call arbitrary functions in duckplyr | Conclusion
Large data1 years ago
Introduction | To duckplyr | From files | From DuckDB | Materialization | To files | Memory usage | The big picture
Fallback to dplyr1 years ago
Introduction | DuckDB mode | Relation objects | Help from dplyr | Enforce DuckDB operation | Configure fallbacks | Conclusion
Selective use of duckplyr1 years ago
Introduction | External data with explicit qualification | Restoring dplyr methods | Own data | In other packages
Custom formatting1 years ago
Header | Tweak header | Restyle header | Footer | Restyle footer | Compute additional info beforehand | Row IDs | Body | Tweak pillar composition | Tweak display of compound pillars | Restyle body
Telemetry1 years ago
Implementer's interface1 years ago
Implementing a new backend2 years ago
Getting started | Testing | Driver | Connection | Results | SQL methods | Metadata methods | Full DBI compliance
Printing a tibble: Control and data flow2 years ago
Requirements | Overview | Initialization | Setup | Header, body, footer | Colonnade | Creating pillar objects | Pillar lists | Simple pillars | Components | Formatting pillars
Automate CRAN releases v22 years ago
Goals, and how achieved | Non-goals | Workflow
Finding files in project subdirectories2 years ago
TL;DR | Project root | A simple example | Relative paths to a stable root | Example A: From vignettes | Example B: From tests/testthat | Summary of Examples A and B | Criteria | Shortcuts | Fixed root | testthat files | Another example: custom testing utilities | Summary | Acknowledgement
DBI specification2 years ago
Using DBI with Arrow2 years ago
Who this tutorial is for | Rationale | New classes and generics | Prepare | Read all rows from a table | Run queries | Prepared queries | Manual flow | Writing data | Appending data | Conclusion
Testing DBI backends3 years ago
Testing a new backend | Testing an existing backend | External testing | Preparation | Testing
History of DBI3 years ago
Using fledge3 years ago
Introduction | Set up the development environment | Create a package | Create and configure a Git repository | Create initial NEWS.md file | The development phase | Create an R file | Create a test | Update NEWS.md | Review NEWS.md | Finalize version | Change code and commit | Prepare for release | Bump version for release | Generate release notes | After release | Tag version | Create GitHub release | Restart development
Get started with fledge3 years ago
Installation & setup | Functions | Full fledge usage | FAQ & edge cases
Insert, update, or remove rows in a database3 years ago
The dm_rows_* process | Usage | dm_rows_insert() | dm_rows_update() | dm_rows_delete() | dm_rows_patch() | dm_rows_upsert() | Conclusion | Further Reading
Joining in relational data models3 years ago
Data: nycflights13 | Joining a dm object | How it works | Joining Examples
Manipulating individual tables3 years ago
Enabling {dplyr}-workflow within a dm | Examples | Use case 1: Add a new column to an existing table | Use case 2: Creation of a surrogate key | Use case 3: Disentangle dm | Use case 4: Add summary table to dm | Use case 5: Joining tables | Use case 6: Retrieve all tables
Model verification - keys, constraints and normalization3 years ago
Testing key constraints | Testing cardinalities between two tables | Examples | Table surgery
Zooming and manipulating tables3 years ago
Enabling {dplyr}-workflow within a dm | Examples | Use case 1: Add a new column to an existing table | Use case 2: Creation of a surrogate key | Use case 3: Disentangle dm | Use case 4: Add summary table to dm | Use case 5: Joining tables | Tip: Accessing the zoomed table | Possible pitfalls and caveats
Comparison with data frames3 years ago
Extending tibble3 years ago
Topics documented elsewhere | Data frame subclasses | Tibble example | Data frame example
Fledge internals3 years ago
Implementation | Updating NEWS.md | Collecting NEWS | Tagging for "dev" vs. other releases
Class dm and basic operations3 years ago
Class dm | Examples of dm objects | Pass the tables directly | Start with an empty dm | Coerce a list of tables | Turn tables from a src into a dm | Low-level construction | Access tables | Primary keys of dm objects | Foreign keys
Function naming logic4 years ago
Prefixes | Suffixes
Joint stack traces4 years ago
Stack traces | R code | Native code | R code + native code | Limitations on Windows | Next steps | Technical details | Retrieving IPs | libbacktrace on the Mac | libbacktrace on Windows | Options not considered | Retrieving module name | Retrieving file + line | History: jointprof part 1 | Appendix | Further documentation links | Accompanying work
RSQLite4 years ago
Creating a new database | Loading data | Queries | Batched queries | Multiple parameterised queries | Statements
Visualizing dm objects4 years ago
Migration guide: 'cdm' -> 'dm'4 years ago
Changes required when updating from version 0.0.5 to 0.0.6 | Replace cdm with dm | Be careful with methods for dm: tbl, [[, $
Create a dm object from data frames4 years ago
Creating a dm object from data frames | Adding Tables | A dm is a list | Defining Keys | Primary Keys | Foreign Keys | Visualization | Integrity Checks | Programming | Conclusion | Further reading
Controlling display of numbers4 years ago
Printing a tibble: Tracking control flow5 years ago
Using here with rmarkdown6 years ago
rmarkdown starts in a subdirectory | here always uses project-relative paths
Unicode: Emoji, accents, and international text6 years ago
Character encoding | UTF-8 | ASCII | Latin-1 | Translating to UTF-8 | The readtext package | Summary