nwwebuse

Load network data over the web

Syntax

Load network data over the web
nwwebuse ["]filename["] [, nwclear]
Report URL from which datasets will be obtained
nwwebuse query
Specify URL from which network dataset will be obtained
nwwebuse set [http://]url[/]
Reset URL to default
nwwebuse set

Description

nwwebuse filename loads the specified network dataset, obtaining it over the web and sets all networks in this dataset. By default, datasets are obtained from https://raw.githubusercontent.com/thomas-u-grund/nwcommands/main/data.

Several network datasets are available from this source. If filename is specified without a suffix, .dta is assumed.

nwwebuse query reports the URL from which network datasets will be obtained.

nwwebuse set allows you to specify the URL to be used as the source for network datasets.

nwwebuse set without arguments resets the source to https://raw.githubusercontent.com/thomas-u-grund/nwcommands/main/data.

Examples

  • Report URL from which network datasets will be obtained
  • . nwwebuse query

  • Change URL from which datasets will be obtained
  • . nwwebuse set http://www.zzz.edu/users/~sue

  • Reset URL to the default
  • . nwwebuse set

  • Load the Florentine network dataset that is stored at
  • https://raw.githubusercontent.com/thomas-u-grund/nwcommands/main/data
  • . nwwebuse florentine

  • Equivalent to above command
  • . nwwebuse https://raw.githubusercontent.com/thomas-u-grund/nwcommands/main/data/florentine

Supported network types

Binary: yes. Directed: yes. Weighted: yes. Signed: yes. Two-mode: yes - fetches and loads an example dataset exactly as published; the specific dataset fetched determines which of these properties the resulting network actually has, not this command itself.

See also


nwcommands version 3.17.6, 9 November 2026 (check your installed version)


Back to top

nwcommands is free software under the GNU General Public License, version 3, as are the model packages nwsaom, nwergm, nwdynam and nwrem. Citing and licenses · Get help · GitHub. Issues with the core go to the nwcommands repository; issues with a model package go to that package's own repository.

This site uses Just the Docs, a documentation theme for Jekyll.