Skip to content

Commit

Permalink
Merge pull request databricks#17 from kierandlal/patch-2
Browse files Browse the repository at this point in the history
Install pycountry module
  • Loading branch information
dennyglee authored Apr 20, 2020
2 parents de7e650 + ffd76ab commit acf7b11
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@

# COMMAND ----------

# MAGIC %md #### Instally pycountry module in this workspace

# COMMAND ----------

dbutils.library.installPyPI("pycountry", version="19.8.18")
#dbutils.library.restartPython()

# COMMAND ----------

# MAGIC %md #### Configure Parquet Path Variables
# MAGIC Save the data in Parquet format at: `/tmp/dennylee/COVID/CORD-19/2020-03-13/`

Expand Down Expand Up @@ -310,4 +319,4 @@ def get_alpha_3(country):
# MAGIC select alpha_3, count(distinct paper_id)
# MAGIC from paperCountryMapped
# MAGIC where alpha_3 is not null
# MAGIC group by alpha_3
# MAGIC group by alpha_3

0 comments on commit acf7b11

Please sign in to comment.