vertex.id not being recognized as numeric in vertex.spells

Open
#14 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
data

Research direction

Start by running the attached temporal-network-analysis-with-r.R.txt script with TNAWR_DynamicNodes.csv, TNAWR_DynamicEdges.csv, TNAWR_StaticEdgelist.csv, and TNAWR_VertexAttributes.csv, then inspect the console output and sessionInfo. Trace the networkDynamic call's validation of vertex.spells and its vertex.id column; done means explaining why the supplied column fails the numeric check and confirming the behavior with this reproduction.

Written by the indexing model from the issue text.

Description

I'm trying to replicate the results here. For some reason, when using the networkDynamic function, I receive the following error:

Error in networkDynamic(thenetwork, edge.spells = PHDynamicEdges, vertex.spells = PHDynamicNodes) : 
  vertex.spells requires the vertex.id column to be numeric

I explicitly import vertex.id as a numeric column. So, it's not clear why I'm getting this message.

Here is the output from my console, including the output from sessionInfo():
console-output-from-temporal-network-analysis-with-r.txt

Here is the R code I'm using:
temporal-network-analysis-with-r.R.txt

Here are the csv files downloaded from the aforementioned website:
TNAWR_DynamicNodes.csv
TNAWR_DynamicEdges.csv
TNAWR_StaticEdgelist.csv
TNAWR_VertexAttributes.csv

Dominant language
R
Stars
12
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from statnet/networkDynamic

All issues in statnet/networkDynamic

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.