code: def add(client, name, urls, link, relative_to, target, force):
      
      try:
          with client.with_dataset(name=name) as dataset:
              target = target if target else None
              with progressbar(urls, label='Adding data to dataset') as bar:
                  for url in bar:
                      client.add_data_to_dataset(
                          dataset,
                          url,
                          link=link,
                          target=target,
                          relative_to=relative_to,
                          force=force,
                      )
      except FileNotFoundError:
          raise BadParameter('Could not process {0}'.format(url))
docs: Add data to a dataset.