Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Data directory in Stata web

    Hello,
    To look at the datafiles that are inbuilt in Stata software we use the command "sysuse dir".
    What is the equivalent command that one needs to find all the Stata datasets on Stata website?
    We use "webuse" followed by the data filename only if we know the name of the file. But what of we want to know what all files are there?
    I look forwarding to hearing from this community soon.
    Thanks,
    Pradeep

  • #2
    Code:
    webuse query
    will give you a URL where you can access these datasets.

    Comment


    • #3
      Andrew Musau is naturally right, but the correspondence of sysuse and webuse is nuanced.

      sysuse can choose any of a fixed list of whatever StataCorp bundled with the official release. In effect, all such files have already been downloaded as part of the installation of whatever Stata you are using.

      webuse can access other .dta files over the Internet. It's just the default to look on the StataCorp website, as you can download such files from elsewhere given permissions both ends. (If you can't download, ten to one you know about that and why.)

      Code:
      help dta contents
      can be helpful as a reminder of what is on the StataCorp website.

      Comment

      Working...
      X