How to query API by drug trade name?

Hi Andrew (@ahercules), this is remarkably helpful - thanks for your guidance. I’m having some trouble downloading the dataset from the data downloads page on a Windows machine. The solutions in the tutorial seem to be Unix specific. For example, running:

wget --recursive --no-parent --no-host-directories --cut-dirs 8

returns the following:

Invoke-WebRequest : A positional parameter cannot be found that accepts argument '--no-parent'.
At line:1 char:1
+ wget --recursive --no-parent --no-host-directories --cut-dirs 8 ftp:/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Any recommendations for a good Windows utility for this?

1 Like